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.25.0.rc2 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.25.0.rc1 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.24.3 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.23.6 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.24.2 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.23.5 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.24.1 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.24.0 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.24.0.rc2 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.23.4 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.24.0.rc1 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.23.3 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.23.2 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.23.1 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.23.1.rc1 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.23.0 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.22.0 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.21.0 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.20.1 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.20.0 app/views/decidim/consultations/admin/responses/edit.html.erb