Sha256: d3e28f07e6b76e8135053daae52483abd1e4e0697dbae5b411648665faf5281d

Contents?: true

Size: 987 Bytes

Versions: 35

Compression:

Stored size: 987 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 allowed_to? :destroy, :initiative_type_scope, initiative_type_scope: 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

35 entries across 35 versions & 1 rubygems

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