Sha256: 9997e68a5dc5696b5db0d2d8d4e3f4d36bebb58e2127bc8d85e3ad4a64707b29

Contents?: true

Size: 1.34 KB

Versions: 12

Compression:

Stored size: 1.34 KB

Contents

<div class="card">
  <div class="card-divider">
    <h2 class="card-title">
      <%= title.html_safe %>
    </h2>
  </div>

  <div class="card-section">
    <div class="row column">
      <%= form.translated :text_field, :title, autofocus: true %>
    </div>

    <div class="row column">
      <%= form.translated :editor, :description %>
    </div>

    <div class="row column">
      <%= form.number_field :budget_amount %>
    </div>

    <% if @form.geocoding_enabled? %>
      <div class="row column">
        <%= form.geocoding_field :address %>
      </div>
    <% end %>

    <% if current_component.has_subscopes? %>
      <div class="row column">
        <%= scopes_picker_field form, :decidim_scope_id, root: budget.scope %>
      </div>
    <% end %>

    <div class="row column">
      <%= form.categories_select :decidim_category_id, current_participatory_space.categories, include_blank: true, disable_parents: false %>
    </div>

    <% if Decidim::Budgets.enable_proposal_linking %>
      <div class="row column">
        <%= proposals_picker(form, :proposals, proposals_picker_projects_path) %>
      </div>
    <% end %>

    <%= render partial: "decidim/admin/shared/gallery", locals: { form: form } %>

    <% if form.object.persisted? %>
      <div class="row column">
        <%= form.check_box :selected %>
      </div>
    <% end %>
  </div>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
decidim-budgets-0.27.9 app/views/decidim/budgets/admin/projects/_form.html.erb
decidim-budgets-0.27.8 app/views/decidim/budgets/admin/projects/_form.html.erb
decidim-budgets-0.27.7 app/views/decidim/budgets/admin/projects/_form.html.erb
decidim-budgets-0.27.6 app/views/decidim/budgets/admin/projects/_form.html.erb
decidim-budgets-0.27.5 app/views/decidim/budgets/admin/projects/_form.html.erb
decidim-budgets-0.27.4 app/views/decidim/budgets/admin/projects/_form.html.erb
decidim-budgets-0.27.3 app/views/decidim/budgets/admin/projects/_form.html.erb
decidim-budgets-0.27.2 app/views/decidim/budgets/admin/projects/_form.html.erb
decidim-budgets-0.27.1 app/views/decidim/budgets/admin/projects/_form.html.erb
decidim-budgets-0.27.0 app/views/decidim/budgets/admin/projects/_form.html.erb
decidim-budgets-0.27.0.rc2 app/views/decidim/budgets/admin/projects/_form.html.erb
decidim-budgets-0.27.0.rc1 app/views/decidim/budgets/admin/projects/_form.html.erb