Sha256: f1e2292acce67286fd20c17a5ec1392244695c9f9d49bb8d34b2fdb766e4a37d

Contents?: true

Size: 1.28 KB

Versions: 7

Compression:

Stored size: 1.28 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) do |form| %>
    <%= form_required_explanation %>

    <div class="form__wrapper">
      <%= form.text_field :title, class: "js-hashtags" %>
      <%= text_editor_for_proposal_body(form) %>

      <% if current_organization.user_groups_enabled? && Decidim::UserGroups::ManageableUserGroups.for(current_user).verified.any? %>
        <%= user_group_select_field form, :user_group_id %>
      <% end %>
    </div>

    <div class="form__wrapper-block flex-col-reverse md:flex-row justify-between">
      <%= link_to proposal_wizard_aside_link_to_back(@step), class: "button button__sm md:button__lg button__text-secondary" do %>
        <%= icon "arrow-left-line" %>
        <%= wizard_aside_back_text(@step) %>
      <% end %>

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

<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-proposals-0.28.4 app/views/decidim/proposals/proposals/new.html.erb
decidim-proposals-0.28.3 app/views/decidim/proposals/proposals/new.html.erb
decidim-proposals-0.28.2 app/views/decidim/proposals/proposals/new.html.erb
decidim-proposals-0.28.1 app/views/decidim/proposals/proposals/new.html.erb
decidim-proposals-0.28.0 app/views/decidim/proposals/proposals/new.html.erb
decidim-proposals-0.28.0.rc5 app/views/decidim/proposals/proposals/new.html.erb
decidim-proposals-0.28.0.rc4 app/views/decidim/proposals/proposals/new.html.erb