Sha256: ad82272071328f28cd64f8e9025c87a0431300a04ab4be8ba1b1fe478ad546c4
Contents?: true
Size: 1.05 KB
Versions: 17
Compression:
Stored size: 1.05 KB
Contents
<%= decidim_form_for(@form, url: budget_proposals_import_path(budget), html: { class: "form import_proposals" }) do |f| %> <% if @form.origin_components.any? %> <div class="card"> <div class="card-divider"> <h2 class="card-title"><%= t(".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> <% if current_component.scopes_enabled? %> <div class="row column"> <%= scopes_picker_field f, :scope_id, root: budget.scope %> </div> <% end %> <div class="row column"> <%= f.number_field :default_budget %> </div> <div class="row column"> <%= f.check_box :import_all_accepted_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
17 entries across 17 versions & 1 rubygems