decidim-meetings/app/views/decidim/meetings/admin/meetings/_form.html.erb in decidim-0.4.4 vs decidim-meetings/app/views/decidim/meetings/admin/meetings/_form.html.erb in decidim-0.5.0
- old
+ new
@@ -32,17 +32,17 @@
<div class="columns xlarge-6" >
<%= form.datetime_field :end_time %>
</div>
</div>
<div class="row" >
- <% if !@form.process_scope %>
+ <% if current_participatory_process.has_subscopes? %>
<div class="columns xlarge-6" >
- <%= form.collection_select :decidim_scope_id, organization_scopes, :id, :name %>
+ <%= form.scopes_select :decidim_scope_id, prompt: I18n.t("decidim.scopes.global"), remote_path: decidim.scopes_search_path(root: current_participatory_process.scope) %>
</div>
<% end %>
<div class="columns xlarge-6" >
<%= form.categories_select :decidim_category_id, current_participatory_process.categories, prompt: "", disable_parents: false %>
</div>
</div>
</div>
-</div>
\ No newline at end of file
+</div>