Sha256: d0740dbf3ab9a01d8bee4e68ce396b4621dc965c25046887324ed16381f9b0b9
Contents?: true
Size: 1.9 KB
Versions: 4
Compression:
Stored size: 1.9 KB
Contents
<div class="card"> <div class="card-divider"> <h2 class="card-title"><%= title %></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> <% if @form.parent_id %> <div class="row column"> <%= form.select :parent_id, parent_results.map{|result| [translated_attribute(result.title), result.id] }, include_blank: true %> </div> <% else %> <% if current_participatory_space.has_subscopes? %> <div class="row column"> <%= form.scopes_select :decidim_scope_id, prompt: I18n.t("decidim.scopes.global"), remote_path: decidim.scopes_search_path(root: current_participatory_space.scope) %> </div> <% end %> <div class="row column"> <%= form.categories_select :decidim_category_id, current_participatory_process.categories, include_blank: true, disable_parents: false %> </div> <% end %> <div class="row"> <div class="columns xlarge-6"> <%= form.date_field :start_date %> </div> <div class="columns xlarge-6"> <%= form.date_field :end_date %> </div> </div> <div class="row"> <div class="columns xlarge-6"> <%= form.select :decidim_accountability_status_id, statuses.map{|status| [translated_attribute(status.name), status.id, { 'data-progress' => status.progress }] }, include_blank: true %> </div> <div class="columns xlarge-6"> <%= form.number_field :progress %> </div> </div> <div class="row column"> <% if @form.proposals %> <%= form.select :proposal_ids, @form.proposals, {}, { multiple: true, class: "chosen-select" } %> <% end %> </div> </div> </div>
Version data entries
4 entries across 4 versions & 1 rubygems