Sha256: ed0d500cf455b865b22b2e434f04ca714216464d49539760b36b577c5e0f7bce

Contents?: true

Size: 1.01 KB

Versions: 19

Compression:

Stored size: 1.01 KB

Contents

<%= decidim_form_for(@form, url: proposals_import_path, html: { class: "form import_proposals" }) do |f| %>
  <% if @form.origin_components.any? %>
    <div class="card">
      <div class="card-divider">
        <h2 class="card-title"><%= title %></h2>
      </div>

      <div class="card-section">
        <div class="row column">
          <%= f.select :origin_component_id, @form.origin_components_collection, prompt: t(".select_component") %>
        </div>
        <div class="row column">
          <%= f.label t(".select_states") %>
          <%= f.collection_check_boxes :states, @form.states_collection, :value, :name %>
        </div>
        <div class="row column">
          <%= f.check_box :keep_authors %>
        </div>
        <div class="row column">
          <%= f.check_box :import_proposals %>
        </div>
      </div>
    </div>

    <div class="button--double form-general-submit">
      <%= f.submit t(".create") %>
    </div>
  <% else %>
      <p><%= t(".no_components") %></p>
  <% end %>
<% end %>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
decidim-proposals-0.23.6 app/views/decidim/proposals/admin/proposals_imports/new.html.erb
decidim-proposals-0.23.5 app/views/decidim/proposals/admin/proposals_imports/new.html.erb
decidim-proposals-0.23.4 app/views/decidim/proposals/admin/proposals_imports/new.html.erb
decidim-proposals-0.23.3 app/views/decidim/proposals/admin/proposals_imports/new.html.erb
decidim-proposals-0.23.2 app/views/decidim/proposals/admin/proposals_imports/new.html.erb
decidim-proposals-0.23.1 app/views/decidim/proposals/admin/proposals_imports/new.html.erb
decidim-proposals-0.23.1.rc1 app/views/decidim/proposals/admin/proposals_imports/new.html.erb
decidim-proposals-0.23.0 app/views/decidim/proposals/admin/proposals_imports/new.html.erb
decidim-proposals-0.22.0 app/views/decidim/proposals/admin/proposals_imports/new.html.erb
decidim-proposals-0.21.0 app/views/decidim/proposals/admin/proposals_imports/new.html.erb
decidim-proposals-0.20.1 app/views/decidim/proposals/admin/proposals_imports/new.html.erb
decidim-proposals-0.20.0 app/views/decidim/proposals/admin/proposals_imports/new.html.erb
decidim-proposals-0.19.1 app/views/decidim/proposals/admin/proposals_imports/new.html.erb
decidim-proposals-0.18.1 app/views/decidim/proposals/admin/proposals_imports/new.html.erb
decidim-proposals-0.19.0 app/views/decidim/proposals/admin/proposals_imports/new.html.erb
decidim-proposals-0.17.2 app/views/decidim/proposals/admin/proposals_imports/new.html.erb
decidim-proposals-0.18.0 app/views/decidim/proposals/admin/proposals_imports/new.html.erb
decidim-proposals-0.17.1 app/views/decidim/proposals/admin/proposals_imports/new.html.erb
decidim-proposals-0.17.0 app/views/decidim/proposals/admin/proposals_imports/new.html.erb