Sha256: 81afe66bb00ee4b20a772616297d67e3ebcf6b2e376d7a75a8d8994d3379f1d9

Contents?: true

Size: 1.26 KB

Versions: 13

Compression:

Stored size: 1.26 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 %>

  <div class="flex justify-center">
    <h1 class="title-decorator my-12">
      <%= t("title", scope: "decidim.proposals.proposals.edit") %>
    </h1>
  </div>

  <%= cell("decidim/announcement", translated_attribute(component_settings.new_proposal_help_text)) %>

  <%= decidim_form_for(@form) 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 :back, class: "button button__sm md:button__lg button__text-secondary" do %>
        <%= icon "arrow-left-line" %>
        <span><%= t("back", scope: "decidim.proposals.proposals.edit") %></span>
      <% end %>

      <button type="submit" class="button button__sm md:button__lg button__secondary">
        <span><%= t("send", scope: "decidim.proposals.proposals.edit") %></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.html.erb
decidim-proposals-0.28.4 app/views/decidim/proposals/proposals/edit.html.erb
decidim-proposals-0.29.0 app/views/decidim/proposals/proposals/edit.html.erb
decidim-proposals-0.28.3 app/views/decidim/proposals/proposals/edit.html.erb
decidim-proposals-0.29.0.rc4 app/views/decidim/proposals/proposals/edit.html.erb
decidim-proposals-0.29.0.rc3 app/views/decidim/proposals/proposals/edit.html.erb
decidim-proposals-0.29.0.rc2 app/views/decidim/proposals/proposals/edit.html.erb
decidim-proposals-0.29.0.rc1 app/views/decidim/proposals/proposals/edit.html.erb
decidim-proposals-0.28.2 app/views/decidim/proposals/proposals/edit.html.erb
decidim-proposals-0.28.1 app/views/decidim/proposals/proposals/edit.html.erb
decidim-proposals-0.28.0 app/views/decidim/proposals/proposals/edit.html.erb
decidim-proposals-0.28.0.rc5 app/views/decidim/proposals/proposals/edit.html.erb
decidim-proposals-0.28.0.rc4 app/views/decidim/proposals/proposals/edit.html.erb