Sha256: 5fa09cb7c1cde72e127747947381c73df577204b77e85e97bfb1488cef00dd3a

Contents?: true

Size: 858 Bytes

Versions: 12

Compression:

Stored size: 858 Bytes

Contents

<%= decidim_form_for(@form, url: budgets_export_path, html: { class: "form import_proposals" }) do |f| %>
  <% if @form.target_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 :target_component_id, @form.target_components_collection, prompt: t(".select_component") %>
        </div>
        <div class="row column">
          <%= f.number_field :default_budget %>
        </div>
        <div class="row column">
          <%= f.check_box :export_all_closed_plans %>
        </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

12 entries across 12 versions & 1 rubygems

Version Path
decidim-plans-0.18.2 app/views/decidim/plans/admin/budgets_exports/new.html.erb
decidim-plans-0.18.1 app/views/decidim/plans/admin/budgets_exports/new.html.erb
decidim-plans-0.18.0 app/views/decidim/plans/admin/budgets_exports/new.html.erb
decidim-plans-0.17.0 app/views/decidim/plans/admin/budgets_exports/new.html.erb
decidim-plans-0.16.9 app/views/decidim/plans/admin/budgets_exports/new.html.erb
decidim-plans-0.16.8 app/views/decidim/plans/admin/budgets_exports/new.html.erb
decidim-plans-0.16.7 app/views/decidim/plans/admin/budgets_exports/new.html.erb
decidim-plans-0.16.6 app/views/decidim/plans/admin/budgets_exports/new.html.erb
decidim-plans-0.16.5 app/views/decidim/plans/admin/budgets_exports/new.html.erb
decidim-plans-0.16.4 app/views/decidim/plans/admin/budgets_exports/new.html.erb
decidim-plans-0.16.3 app/views/decidim/plans/admin/budgets_exports/new.html.erb
decidim-plans-0.16.2 app/views/decidim/plans/admin/budgets_exports/new.html.erb