Sha256: ab7148d0851c5ed1a88be37cd9842b21d1d762bb462e41ceecf6a95d21adb552

Contents?: true

Size: 745 Bytes

Versions: 9

Compression:

Stored size: 745 Bytes

Contents

<% add_decidim_page_title(translated_attribute(current_initiative_type.title)) %>
<%= 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

9 entries across 9 versions & 1 rubygems

Version Path
decidim-initiatives-0.27.9 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.27.8 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.27.7 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.27.6 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.26.10 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.26.9 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.27.5 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.26.8 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb
decidim-initiatives-0.27.4 app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb