<% process = highlighted_items.first %> <% title_id = "process_title" %>

<%= t("active_processes", scope: i18n_scope) %>

<% if process.is_a? Decidim::ParticipatoryProcessGroup %> <%= render partial: "decidim/participatory_processes/participatory_processes/promoted_process_group.html", locals: { promoted_process_group: process } %> <% else %>
<%= link_to decidim_participatory_processes.participatory_process_path(process), class: "card__link" do %>

<%= decidim_html_escape(translated_attribute(process.title)) %>

<% end %> <%= decidim_sanitize translated_attribute(process.short_description) %> <%= link_to decidim_participatory_processes.participatory_process_path(process), class: "button small hollow" do %> <%= decidim_html_escape(translated_attribute(process.title)) %> <%= t("more_information", scope: i18n_scope) %> <% end %>
<%= link_to decidim_participatory_processes.participatory_process_path(process), class: "button expanded button--sc" do %> <%= t("participate_in", resource_name: translated_attribute(process.title), scope: i18n_scope) %> <% if process.active_step %> <%= t("active_step", scope: i18n_scope) %> <%= translated_attribute process.active_step.title %> <% end %> <% end %>
<% end %>
<%= render "_all_processes" %>