Sha256: ea6596a0412dbb34f8384ce257fc11dadbe0d2d62f72d476a8fe1760870a3baf

Contents?: true

Size: 956 Bytes

Versions: 11

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

11 entries across 11 versions & 1 rubygems

Version Path
decidim-assemblies-0.10.1 app/views/decidim/assemblies/_assembly.html.erb
decidim-assemblies-0.10.0 app/views/decidim/assemblies/_assembly.html.erb
decidim-assemblies-0.9.3 app/views/decidim/assemblies/_assembly.html.erb
decidim-assemblies-0.9.2 app/views/decidim/assemblies/_assembly.html.erb
decidim-assemblies-0.9.1 app/views/decidim/assemblies/_assembly.html.erb
decidim-assemblies-0.9.0 app/views/decidim/assemblies/_assembly.html.erb
decidim-assemblies-0.8.4 app/views/decidim/assemblies/_assembly.html.erb
decidim-assemblies-0.8.3 app/views/decidim/assemblies/_assembly.html.erb
decidim-assemblies-0.8.2 app/views/decidim/assemblies/_assembly.html.erb
decidim-assemblies-0.8.1 app/views/decidim/assemblies/_assembly.html.erb
decidim-assemblies-0.8.0 app/views/decidim/assemblies/_assembly.html.erb