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