Sha256: 866e4856f8662cfc4cc81621ba01a6c37018c7b7772163e538d6bcf34ca88772

Contents?: true

Size: 665 Bytes

Versions: 21

Compression:

Stored size: 665 Bytes

Contents

<%= decidim_form_for(@form, html: { class: "form edit_initiative_type" }) do |f| %>
  <%= render partial: "form", object: f %>
  <div class="button--double form-general-submit">
    <%= f.submit t(".update"), class: "button" %>

    <% if allowed_to? :destroy, :initiative_type, initiative_type: current_initiative_type %>
      <%= link_to t(".destroy"), current_initiative_type,
                  method: :delete,
                  class: "alert button",
                  data: { confirm: t(".confirm_destroy") } %>
    <% end %>
  </div>
  <br />
  <%= render partial: "initiative_type_scopes", locals: { initiative_type: current_initiative_type } %>
<% end %>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
decidim-initiatives-0.18.1 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.17.2 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.18.0 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.17.1 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.16.1 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.17.0 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.16.0 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.15.2 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.15.1 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.15.0 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.14.4 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.14.3 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.14.2 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.14.1 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.13.1 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.12.2 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.13.0 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.12.1 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.13.0.pre1 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.12.0 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb