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.27.3 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.26.7 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.26.5 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.27.2 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.27.1 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.26.4 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.27.0 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.26.3 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.27.0.rc2 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.27.0.rc1 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.26.2 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.26.1 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.26.0 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.26.0.rc2 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.26.0.rc1 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.25.2 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.25.1 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.25.0 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.25.0.rc4 app/views/decidim/consultations/admin/responses/edit.html.erb
decidim-consultations-0.25.0.rc3 app/views/decidim/consultations/admin/responses/edit.html.erb