Sha256: 1eb4fe9c3aaeb219f3e8615f010c397322d78f5b63f01c61747e63e211d1b321
Contents?: true
Size: 1.52 KB
Versions: 2
Compression:
Stored size: 1.52 KB
Contents
<article 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 participatory_process_path(promoted_process), class: "card__link" do %> <h2 class="card__title"><%= translated_attribute promoted_process.title %></h2> <% end %> <%== html_truncate(translated_attribute(promoted_process.description), length: 630, separator: ' ') %> <%= link_to participatory_process_path(promoted_process), class: "button secondary small hollow card__button" do %> <%= t(".more_info", scope: "layouts") %> <% end %> </div> </div> <div class="columns mediumlarge-8 large-6 card--process__column"> <div class="card--full__image" style="background-image:url(<%= promoted_process.hero_image.url %>"> <div class="card__content row collapse"> <div class="large-6 large-offset-6 columns"> <%= link_to participatory_process_path(promoted_process), class: "button expanded button--sc" do %> <%= t(".take_part", scope: "layouts") %> <% if promoted_process.active_step %> <span class="button__info"> <%= t(".active_step", scope: "layouts") %> <%= translated_attribute promoted_process.active_step.title %> </span> <% end %> <% end %> </div> </div> </div> </div> </div> </article>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
decidim-core-0.0.2 | app/views/decidim/participatory_processes/_promoted_process.html.erb |
decidim-core-0.0.1 | app/views/decidim/participatory_processes/_promoted_process.html.erb |