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

Version Path
decidim-consultations-0.19.1 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.18.1 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.19.0 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.17.2 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.18.0 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.17.1 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.16.1 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.17.0 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.16.0 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.15.2 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.15.1 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.15.0 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.14.4 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.14.3 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.14.2 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.14.1 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.13.1 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.12.2 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.13.0 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.12.1 app/views/decidim/consultations/admin/responses/edit.html.erb