Sha256: 5affeb8b554f0fab7bec8087c3bfe308af4dd861f0f8836382f3c9e03049bcb2

Contents?: true

Size: 781 Bytes

Versions: 3

Compression:

Stored size: 781 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 can? :destroy, 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

3 entries across 3 versions & 1 rubygems

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