Sha256: dc234cd6ca0a7cbb7c3aadc02fa23b953d56b0a272110fdb83a5e6477c473a43

Contents?: true

Size: 1008 Bytes

Versions: 29

Compression:

Stored size: 1008 Bytes

Contents

<div class="column">
  <article class="card card--process">
    <%= link_to consultation_path(consultation), class: "card__link" do %>
      <div class="card__image-top"
           style="background-image:url(<%= consultation.banner_image.url %>)"></div>
    <% end %>
    <div class="card__content">
      <%= link_to consultation_path(consultation), class: "card__link" do %>
        <h4 class="card__title"><%= translated_attribute consultation.title %></h4>
      <% end %>
      <p class="card__desc">
        <%= decidim_sanitize html_truncate(translated_attribute(consultation.subtitle), length: 630, separator: "...") %>
      </p>
    </div>
    <div class="card__footer">
      <div class="card__support">
        <span class="card--process__small"></span>
        <%= link_to consultation_path(consultation), class: "card__button button small" do %>
          <%= t("consultations.consultation_card.view_results", scope: "decidim") %>
        <% end %>
      </div>
    </div>
  </article>
</div>

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
decidim-consultations-0.12.2 app/views/decidim/consultations/consultations/_consultation_card.html.erb
decidim-consultations-0.13.0 app/views/decidim/consultations/consultations/_consultation_card.html.erb
decidim-consultations-0.12.1 app/views/decidim/consultations/consultations/_consultation_card.html.erb
decidim-consultations-0.13.0.pre1 app/views/decidim/consultations/consultations/_consultation_card.html.erb
decidim-consultations-0.12.0 app/views/decidim/consultations/consultations/_consultation_card.html.erb
decidim-consultations-0.11.2 app/views/decidim/consultations/consultations/_consultation_card.html.erb
decidim-consultations-0.12.0.pre app/views/decidim/consultations/consultations/_consultation_card.html.erb
decidim-consultations-0.11.1 app/views/decidim/consultations/consultations/_consultation_card.html.erb
decidim-consultations-0.11.0.pre1 app/views/decidim/consultations/consultations/_consultation_card.html.erb