Sha256: 97067e82a4b77fbcb8229d6cae37b29042b280affac16b9726bc5e08fd440968

Contents?: true

Size: 1.68 KB

Versions: 22

Compression:

Stored size: 1.68 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 %>
        <%= decidim_sanitize html_truncate(translated_attribute(promoted_process.short_description), length: 630, separator: "...") %>
        <%= link_to participatory_process_path(promoted_process), class: "button secondary small hollow card__button" do %>
          <%= t("participatory_processes.promoted_process.more_info", scope: "layouts.decidim") %>
        <% 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("participatory_processes.promoted_process.take_part", scope: "layouts.decidim") %>
              <% if promoted_process.active_step %>
                <span class="button__info">
                  <%= t("participatory_processes.promoted_process.active_step", scope: "layouts.decidim") %> <%= translated_attribute promoted_process.active_step.title %>
                </span>
              <% end %>
            <% end %>
          </div>
        </div>
      </div>
    </div>
  </div>
</article>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
decidim-participatory_processes-0.11.1 app/views/decidim/participatory_processes/participatory_processes/_promoted_process.html.erb
decidim-participatory_processes-0.11.0.pre1 app/views/decidim/participatory_processes/participatory_processes/_promoted_process.html.erb