Sha256: 3a3ea04355bb1fa679046e0259673054d132e7185926024e98debe0aedd26d46

Contents?: true

Size: 1.3 KB

Versions: 7

Compression:

Stored size: 1.3 KB

Contents

<section class="wrapper-home home-section">
  <div class="row" id="highlighted-votings">
    <h3 class="section-heading"><%= t("active_votings", scope: i18n_scope) %></h3>
    <div class="row collapse">
      <div class="row small-up-1 smallmedium-up-2 mediumlarge-up-3
        large-up-4 card-grid">
        <% highlighted_votings.each do |voting| %>
          <div class="column">
            <%= link_to decidim_votings.voting_path(voting), class: "card card--voting card--mini" do %>
              <div aria-hidden="true" class="card__image-top"
                style="background-image:url('<%= voting.attached_uploader(:banner_image).path %>')"></div>
              <div class="card__content">
                <span class="card__title card__link"><%= translated_attribute voting.title %></span>
              </div>
            <% end %>
          </div>
        <% end %>
      </div>
    </div>
  </div>
  <div class="row" id="see-all-votings">
    <div class="columns small-centered small-12
      smallmedium-8 medium-6 large-4">
      <%= link_to t("see_all_votings", scope: i18n_scope),
                  decidim_votings.votings_path,
                  class: "button expanded hollow button--sc home-section__cta",
                  title: t("votings_button_title", scope: i18n_scope) %>
    </div>
  </div>
</section>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-elections-0.26.10 app/cells/decidim/votings/content_blocks/highlighted_votings/show.erb
decidim-elections-0.26.9 app/cells/decidim/votings/content_blocks/highlighted_votings/show.erb
decidim-elections-0.26.8 app/cells/decidim/votings/content_blocks/highlighted_votings/show.erb
decidim-elections-0.26.7 app/cells/decidim/votings/content_blocks/highlighted_votings/show.erb
decidim-elections-0.26.5 app/cells/decidim/votings/content_blocks/highlighted_votings/show.erb
decidim-elections-0.26.4 app/cells/decidim/votings/content_blocks/highlighted_votings/show.erb
decidim-elections-0.26.3 app/cells/decidim/votings/content_blocks/highlighted_votings/show.erb