Sha256: 2e652e914e73f0cd7586c5ddfb35537ae277b7c2fabec7b69cb1b579adfee492

Contents?: true

Size: 623 Bytes

Versions: 3

Compression:

Stored size: 623 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 can? :destroy, 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

3 entries across 3 versions & 1 rubygems

Version Path
decidim-initiatives-0.11.2 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.11.1 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.11.0.pre1 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb