Sha256: 7032b2323e789b57a6295d3a5f56ae0fb2ea969ab094cb76b361a3c22879c0be

Contents?: true

Size: 933 Bytes

Versions: 3

Compression:

Stored size: 933 Bytes

Contents

<h2 class="process-title-summary">
  <%= t ".title" %>
</h2>

<%= decidim_form_for @form,
                     url: initiatives_type_initiatives_type_scope_path(params[:initiatives_type_id], current_initiative_type_scope),
                     html: { class: "form edit_initiative_type_scope" } 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_scope %>
        <%= link_to t(".destroy"), initiatives_type_initiatives_type_scope_path(params[:initiatives_type_id], current_initiative_type_scope),
                    method: :delete,
                    class: "alert button",
                    data: { confirm: t(".confirm_destroy") } %>
    <% end %>

    <%= link_to t(".back"), edit_initiatives_type_path(params[:initiatives_type_id]), class: "button" %>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

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