Sha256: 2db5f42e725887458084cbddf2a4da27eb2564eebc5555891adc5ecbb88d245e

Contents?: true

Size: 687 Bytes

Versions: 8

Compression:

Stored size: 687 Bytes

Contents

<div class="field">
  <%= form.text_field :title %>
</div>

<div class="field">
  <%= text_editor_for_debate_description(form) %>
</div>

<% if current_participatory_space.categories&.any? %>
  <div class="field">
    <%= form.categories_select :category_id, current_participatory_space.categories, include_blank: t(".select_a_category"), disable_parents: false %>
  </div>
<% end %>

<% if @form.id.blank? && Decidim::UserGroups::ManageableUserGroups.for(current_user).verified.any? %>
  <div class="field">
    <%= form.select :user_group_id, Decidim::UserGroups::ManageableUserGroups.for(current_user).verified.map{|g| [g.name, g.id]}, prompt: current_user.name %>
  </div>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
decidim-debates-0.23.6 app/views/decidim/debates/debates/_form.html.erb
decidim-debates-0.23.5 app/views/decidim/debates/debates/_form.html.erb
decidim-debates-0.23.4 app/views/decidim/debates/debates/_form.html.erb
decidim-debates-0.23.3 app/views/decidim/debates/debates/_form.html.erb
decidim-debates-0.23.2 app/views/decidim/debates/debates/_form.html.erb
decidim-debates-0.23.1 app/views/decidim/debates/debates/_form.html.erb
decidim-debates-0.23.1.rc1 app/views/decidim/debates/debates/_form.html.erb
decidim-debates-0.23.0 app/views/decidim/debates/debates/_form.html.erb