Sha256: 65b1871b99edd3d69a93ca5d367c40bb2bcff958ac5ccaed464ba9760968df49
Contents?: true
Size: 940 Bytes
Versions: 19
Compression:
Stored size: 940 Bytes
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 :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