<%= link_to participatory_process_path(promoted_process), class: "card__link" do %>

<%= decidim_html_escape(translated_attribute(promoted_process.title)).html_safe %>

<% end %> <%= decidim_sanitize html_truncate(translated_attribute(promoted_process.short_description), length: 630, separator: "...") %> <%= link_to participatory_process_path(promoted_process), class: "button small hollow card__button" do %> <%= decidim_html_escape(translated_attribute(promoted_process.title)) %> <%= t("participatory_processes.promoted_process.more_info", scope: "layouts.decidim") %> <% end %>
<%= link_to participatory_process_cta_path(promoted_process), class: "button expanded button--sc" do %> <% if translated_in_current_locale?(promoted_process.active_step&.cta_text) %> <%= translated_attribute(promoted_process.active_step.cta_text) %> <% else %> <%= t(promoted_process.cta_button_text_key_accessible, resource_name: translated_attribute(promoted_process.title), scope: "layouts.decidim.participatory_processes.promoted_process") %> <% end %> <% if promoted_process.active_step %> <%= t("participatory_processes.promoted_process.active_step", scope: "layouts.decidim") %> <%= translated_attribute promoted_process.active_step.title %> <% end %> <% end %>