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