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

Version Path
decidim-assemblies-0.23.3 app/views/decidim/assemblies/admin/assemblies/edit.html.erb
decidim-assemblies-0.23.2 app/views/decidim/assemblies/admin/assemblies/edit.html.erb
decidim-assemblies-0.23.1 app/views/decidim/assemblies/admin/assemblies/edit.html.erb
decidim-assemblies-0.23.1.rc1 app/views/decidim/assemblies/admin/assemblies/edit.html.erb
decidim-assemblies-0.23.0 app/views/decidim/assemblies/admin/assemblies/edit.html.erb
decidim-assemblies-0.22.0 app/views/decidim/assemblies/admin/assemblies/edit.html.erb
decidim-assemblies-0.21.0 app/views/decidim/assemblies/admin/assemblies/edit.html.erb
decidim-assemblies-0.20.1 app/views/decidim/assemblies/admin/assemblies/edit.html.erb
decidim-assemblies-0.20.0 app/views/decidim/assemblies/admin/assemblies/edit.html.erb
decidim-assemblies-0.19.1 app/views/decidim/assemblies/admin/assemblies/edit.html.erb
decidim-assemblies-0.18.1 app/views/decidim/assemblies/admin/assemblies/edit.html.erb
decidim-assemblies-0.19.0 app/views/decidim/assemblies/admin/assemblies/edit.html.erb
decidim-assemblies-0.17.2 app/views/decidim/assemblies/admin/assemblies/edit.html.erb
decidim-assemblies-0.18.0 app/views/decidim/assemblies/admin/assemblies/edit.html.erb
decidim-assemblies-0.17.1 app/views/decidim/assemblies/admin/assemblies/edit.html.erb
decidim-assemblies-0.16.1 app/views/decidim/assemblies/admin/assemblies/edit.html.erb
decidim-assemblies-0.17.0 app/views/decidim/assemblies/admin/assemblies/edit.html.erb
decidim-assemblies-0.16.0 app/views/decidim/assemblies/admin/assemblies/edit.html.erb