decidim-budgets/app/views/decidim/budgets/admin/projects/_form.html.erb in decidim-0.0.5 vs decidim-budgets/app/views/decidim/budgets/admin/projects/_form.html.erb in decidim-0.0.6
- old
+ new
@@ -8,12 +8,14 @@
<div class="field" >
<%= form.number_field :budget %>
</div>
-<div class="field" >
- <%= form.collection_select :decidim_scope_id, current_organization.scopes, :id, :name, include_blank: true %>
-</div>
+<% if !current_participatory_process.scope %>
+ <div class="field" >
+ <%= form.collection_select :decidim_scope_id, organization_scopes, :id, :name %>
+ </div>
+<% end %>
<div class="field" >
<%= form.categories_select :decidim_category_id, current_participatory_process.categories, include_blank: true, disable_parents: false %>
</div>