Sha256: 5e6cf4689b5b6460110ebc1fb0582435ccb11164c80867dfd6e2940bf65acff9

Contents?: true

Size: 956 Bytes

Versions: 3

Compression:

Stored size: 956 Bytes

Contents

<div class="column">
  <article class="card card--process">
    <%= link_to assembly_path(assembly), class: "card__link" do %>
      <div class="card__image-top"
           style="background-image:url(<%= assembly.hero_image.url %>)"></div>
    <% end %>
    <div class="card__content">
      <%= link_to assembly_path(assembly), class: "card__link" do %>
        <h4 class="card__title"><%= translated_attribute assembly.title %></h4>
      <% end %>
      <p class="card__desc"><%= decidim_sanitize html_truncate(translated_attribute(assembly.short_description), length: 630, separator: "...") %></p>
    </div>
    <div class="card__footer">
      <div class="card__support">
        <span class="card--process__small"></span>
        <%= link_to assembly_path(assembly), class: "card__button button small" do %>
          <%= t("assemblies.assembly.take_part", scope: "layouts.decidim") %>
        <% end %>
      </div>
    </div>
  </article>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-assemblies-0.11.2 app/views/decidim/assemblies/_assembly.html.erb
decidim-assemblies-0.11.1 app/views/decidim/assemblies/_assembly.html.erb
decidim-assemblies-0.11.0.pre1 app/views/decidim/assemblies/_assembly.html.erb