Sha256: 232f809b50eda8153f0d383a1112b55169b0f15e69a2595dbc2b06585d5f28f6
Contents?: true
Size: 844 Bytes
Versions: 58
Compression:
Stored size: 844 Bytes
Contents
<%= decidim_form_for(@form, html: { class: "form edit_participatory_process" }) do |f| %> <%= render partial: "form", object: f %> <div class="button--double form-general-submit"> <%= f.submit t("participatory_processes.edit.update", scope: "decidim.admin"), class: "button" %> <% if allowed_to? :publish, :process, process: current_participatory_process %> <% if current_participatory_process.published? %> <%= link_to t("actions.unpublish", scope: "decidim.admin"), participatory_process_publish_path(current_participatory_process), method: :delete, class: "button muted" %> <% else %> <%= link_to t("actions.publish", scope: "decidim.admin"), participatory_process_publish_path(current_participatory_process), method: :post, class: "button hollow" %> <% end %> <% end %> </div> <% end %>
Version data entries
58 entries across 58 versions & 1 rubygems