app/views/decidim/proposals/proposals/new.html.erb in decidim-proposals-0.0.2 vs app/views/decidim/proposals/proposals/new.html.erb in decidim-proposals-0.0.3
- old
+ new
@@ -28,9 +28,15 @@
<div class="field">
<%= form.select :scope_id, @form.scopes.map{|s| [s.name, s.id]}, prompt: t(".select_a_scope") %>
</div>
<% end %>
+ <% if current_user.user_groups.verified.any? %>
+ <div class="field">
+ <%= form.select :user_group_id, current_user.user_groups.verified.map{|g| [g.name, g.id]}, prompt: current_user.name %>
+ </div>
+ <% end %>
+
<div class="actions">
<%= form.submit t(".send"), class: "button expanded" %>
</div>
<% end %>
</div>