Sha256: 2d19abbc5438e1b8440a922a6e035e6638639f2745055253aad957f3e14e1a4d

Contents?: true

Size: 1.32 KB

Versions: 18

Compression:

Stored size: 1.32 KB

Contents

<div class="card card--full card--process">
  <div class="row collapse card--process__row">
    <div class="columns mediumlarge-8 large-6 card--process__column">
      <div class="card__content">
        <%= link_to voting_path(promoted_voting), class: "card__link" do %>
          <h2 class="card__title"><%= translated_attribute promoted_voting.title %></h2>
        <% end %>
        <%= decidim_sanitize_editor html_truncate(translated_attribute(promoted_voting.description), length: 630, separator: "...") %>
        <%= link_to voting_path(promoted_voting), class: "button small hollow card__button" do %>
          <%= t("votings.promoted_voting.more_info", scope: "layouts.decidim") %>
        <% end %>
      </div>
    </div>
    <div class="columns mediumlarge-8 large-6 card--process__column">
      <div class="card--full__image"
           style="background-image:url('<%= promoted_voting.attached_uploader(:banner_image).path %>')">
        <div class="card__content row collapse">
          <div class="large-6 large-offset-6 columns">
            <%= link_to voting_path(promoted_voting), class: "button expanded button--sc" do %>
              <%= t(promoted_voting.cta_button_text_key, scope: "layouts.decidim.votings.promoted_voting") %>
            <% end %>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
decidim-elections-0.27.9 app/views/decidim/votings/votings/_promoted_voting.html.erb
decidim-elections-0.27.8 app/views/decidim/votings/votings/_promoted_voting.html.erb
decidim-elections-0.27.7 app/views/decidim/votings/votings/_promoted_voting.html.erb
decidim-elections-0.27.6 app/views/decidim/votings/votings/_promoted_voting.html.erb
decidim-elections-0.26.10 app/views/decidim/votings/votings/_promoted_voting.html.erb
decidim-elections-0.26.9 app/views/decidim/votings/votings/_promoted_voting.html.erb
decidim-elections-0.27.5 app/views/decidim/votings/votings/_promoted_voting.html.erb
decidim-elections-0.26.8 app/views/decidim/votings/votings/_promoted_voting.html.erb
decidim-elections-0.27.4 app/views/decidim/votings/votings/_promoted_voting.html.erb
decidim-elections-0.27.3 app/views/decidim/votings/votings/_promoted_voting.html.erb
decidim-elections-0.26.7 app/views/decidim/votings/votings/_promoted_voting.html.erb
decidim-elections-0.26.5 app/views/decidim/votings/votings/_promoted_voting.html.erb
decidim-elections-0.27.2 app/views/decidim/votings/votings/_promoted_voting.html.erb
decidim-elections-0.27.1 app/views/decidim/votings/votings/_promoted_voting.html.erb
decidim-elections-0.26.4 app/views/decidim/votings/votings/_promoted_voting.html.erb
decidim-elections-0.27.0 app/views/decidim/votings/votings/_promoted_voting.html.erb
decidim-elections-0.26.3 app/views/decidim/votings/votings/_promoted_voting.html.erb
decidim-elections-0.27.0.rc2 app/views/decidim/votings/votings/_promoted_voting.html.erb