Sha256: b8fb798b6e2e7717649e84034c4fbe7456d61dde4a3267b44af300d2fa16e161
Contents?: true
Size: 809 Bytes
Versions: 63
Compression:
Stored size: 809 Bytes
Contents
<%= decidim_form_for @form, url: response_path(current_question, current_response), html: { class: "form edit_response" } do |f| %> <%= render partial: "form", object: f %> <div class="button--double form-general-submit"> <%= f.submit t("responses.edit.update", scope: "decidim.admin"), class: "button", data: { disable_with: true } %> <% if allowed_to? :destroy, :response, response: current_response %> <%= link_to t("decidim.admin.actions.destroy"), response_path(current_question, current_response), method: :delete, class: "alert button", data: { confirm: t("decidim.admin.actions.confirm_destroy") } %> <% end %> </div> <% end %>
Version data entries
63 entries across 63 versions & 1 rubygems