<%= t(".steps_hint", scope: "decidim.admin") %>
<%= t("models.participatory_process_step.fields.title", scope: "decidim.admin") %> | <%= t("models.participatory_process_step.fields.start_date", scope: "decidim.admin") %> | <%= t("models.participatory_process_step.fields.end_date", scope: "decidim.admin") %> | <%= t("models.participatory_process_step.fields.active", scope: "decidim.admin") %> | <%= t("actions.title", scope: "decidim.admin") %> |
---|---|---|---|---|
<%= link_to translated_attribute(step.title), participatory_process_step_path(participatory_process, step) %> |
<% if step.start_date %> <%= l step.start_date.to_date, format: :long %> <% end%> | <% if step.end_date %> <%= l step.end_date.to_date, format: :long %> <% end%> | <%= humanize_boolean step.active? %> | <%= link_to t("actions.edit", scope: "decidim.admin"), edit_participatory_process_step_path(participatory_process, step) if can? :update, step %> <% if can? :activate, step %> <% if step.active? %> <%= link_to t("actions.deactivate", scope: "decidim.admin"), participatory_process_step_activate_path(participatory_process, step), method: :delete, class: "small button secondary" %> <% else %> <%= link_to t("actions.activate", scope: "decidim.admin"), participatory_process_step_activate_path(participatory_process, step), method: :post, class: "small button secondary" %> <% end %> <% end %> <%= link_to t("actions.destroy", scope: "decidim.admin"), participatory_process_step_path(participatory_process, step), method: :delete, class: "small alert button", data: { confirm: t("actions.confirm_destroy", scope: "decidim.admin") } if can? :destroy, step %> |