Sha256: d6994edc725c3a2da8f0597a346b897d47ffcf39372f004f1d8210e4cb5cc444

Contents?: true

Size: 1.96 KB

Versions: 10

Compression:

Stored size: 1.96 KB

Contents

<% process = highlighted_processes.first %>
<section class="wrapper-home home-section">
  <div class="row" id="highlighted-processes">
    <h3 class="section-heading"><%= t("active_processes", scope: i18n_scope) %></h3>
    <div class="row collapse">
      <article class="card card--full card--process">
        <div class="row collapse card--process__row">
          <div class="column large-6 card--process__column">
            <div class="card__content">
              <%= link_to decidim_participatory_processes.participatory_process_path(process), class: "card__link" do %>
                <h2 class="card__title"><%= translated_attribute process.title %></h2>
              <% end %>
              <%= decidim_sanitize translated_attribute(process.short_description) %>
              <%= link_to t("more_information", scope: i18n_scope), decidim_participatory_processes.participatory_process_path(process), class: "button secondary small hollow" %>
            </div>
          </div>
          <div class="column large-6 card--process__column">
            <div class="card--full__image" style="background-image:url(<%= process.hero_image.url %>)">
              <div class="card__content row collapse">
                <div class="large-6 large-offset-6 columns">
                  <%= link_to decidim_participatory_processes.participatory_process_path(process), class: "button expanded button--sc" do %>
                    <%= t("participate", scope: i18n_scope) %>
                    <% if process.active_step %>
                      <span class="button__info">
                        <%= t("active_step", scope: i18n_scope) %>
                        <strong><%= translated_attribute process.active_step.title %></strong>
                      </span>
                    <% end %>
                  <% end %>
                </div>
              </div>
            </div>
          </div>
        </div>
      </article>
    </div>
  </div>
  <%= render "_all_processes" %>
</section>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
decidim-participatory_processes-0.21.0 app/cells/decidim/participatory_processes/content_blocks/highlighted_processes/single_process.erb
decidim-participatory_processes-0.20.1 app/cells/decidim/participatory_processes/content_blocks/highlighted_processes/single_process.erb
decidim-participatory_processes-0.20.0 app/cells/decidim/participatory_processes/content_blocks/highlighted_processes/single_process.erb
decidim-participatory_processes-0.19.1 app/cells/decidim/participatory_processes/content_blocks/highlighted_processes/single_process.erb
decidim-participatory_processes-0.18.1 app/cells/decidim/participatory_processes/content_blocks/highlighted_processes/single_process.erb
decidim-participatory_processes-0.19.0 app/cells/decidim/participatory_processes/content_blocks/highlighted_processes/single_process.erb
decidim-participatory_processes-0.17.2 app/cells/decidim/participatory_processes/content_blocks/highlighted_processes/single_process.erb
decidim-participatory_processes-0.18.0 app/cells/decidim/participatory_processes/content_blocks/highlighted_processes/single_process.erb
decidim-participatory_processes-0.17.1 app/cells/decidim/participatory_processes/content_blocks/highlighted_processes/single_process.erb
decidim-participatory_processes-0.17.0 app/cells/decidim/participatory_processes/content_blocks/highlighted_processes/single_process.erb