Sha256: d7d6f810082918eb29b1db0dbab659723a65e1cf75dd24dc9b01a6014769e0c7

Contents?: true

Size: 1.25 KB

Versions: 13

Compression:

Stored size: 1.25 KB

Contents

<% add_decidim_page_title(proposal_wizard_step_title(action_name)) %>

<%= append_stylesheet_pack_tag "decidim_proposals", media: "all" %>
<%= append_javascript_pack_tag "decidim_proposals" %>

<%= render layout: "layouts/decidim/shared/layout_center" do %>

  <%= render partial: "wizard_header" %>

  <%= decidim_form_for(@form, url: update_draft_proposal_path(@proposal), method: :patch) do |form| %>

    <%= form_required_explanation %>

    <div class="form__wrapper">
      <%= render partial: "edit_form_fields", locals: { form: } %>
    </div>

    <div class="form__wrapper-block flex-col-reverse md:flex-row justify-between">
      <%= link_to destroy_draft_proposal_path(@proposal), method: :delete, class: "button button__sm md:button__lg button__text-secondary", data: { confirm: t("discard_confirmation", scope: "decidim.proposals.proposals.edit_draft") } do %>
        <%= icon "arrow-left-line" %>
        <span><%= t("discard", scope: "decidim.proposals.proposals.edit_draft") %></span>
      <% end %>

      <button type="submit" class="button button__sm md:button__lg button__secondary">
        <span><%= t("send", scope: "decidim.proposals.proposals.edit_draft") %></span>
        <%= icon "arrow-right-line" %>
      </button>
    </div>
  <% end %>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-proposals-0.29.1 app/views/decidim/proposals/proposals/edit_draft.html.erb
decidim-proposals-0.28.4 app/views/decidim/proposals/proposals/edit_draft.html.erb
decidim-proposals-0.29.0 app/views/decidim/proposals/proposals/edit_draft.html.erb
decidim-proposals-0.28.3 app/views/decidim/proposals/proposals/edit_draft.html.erb
decidim-proposals-0.29.0.rc4 app/views/decidim/proposals/proposals/edit_draft.html.erb
decidim-proposals-0.29.0.rc3 app/views/decidim/proposals/proposals/edit_draft.html.erb
decidim-proposals-0.29.0.rc2 app/views/decidim/proposals/proposals/edit_draft.html.erb
decidim-proposals-0.29.0.rc1 app/views/decidim/proposals/proposals/edit_draft.html.erb
decidim-proposals-0.28.2 app/views/decidim/proposals/proposals/edit_draft.html.erb
decidim-proposals-0.28.1 app/views/decidim/proposals/proposals/edit_draft.html.erb
decidim-proposals-0.28.0 app/views/decidim/proposals/proposals/edit_draft.html.erb
decidim-proposals-0.28.0.rc5 app/views/decidim/proposals/proposals/edit_draft.html.erb
decidim-proposals-0.28.0.rc4 app/views/decidim/proposals/proposals/edit_draft.html.erb