app/views/decidim/debates/debates/_form.html.erb in decidim-debates-0.23.6 vs app/views/decidim/debates/debates/_form.html.erb in decidim-debates-0.24.0.rc1
- old
+ new
@@ -4,9 +4,15 @@
<div class="field">
<%= text_editor_for_debate_description(form) %>
</div>
+<% if current_component.has_subscopes? %>
+ <div class="row column">
+ <%= scopes_picker_field form, :scope_id, root: current_component.scope %>
+ </div>
+<% end %>
+
<% 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 %>