app/views/decidim/initiatives/initiatives/_vote_cabin.html.erb in decidim-initiatives-0.14.4 vs app/views/decidim/initiatives/initiatives/_vote_cabin.html.erb in decidim-initiatives-0.15.0
- old
+ new
@@ -1,5 +1,5 @@
-<% if current_user && current_user.user_groups.verified.any? %>
+<% if current_user && Decidim::UserGroups::ManageableUserGroups.for(current_user).verified.any? %>
<button id="select-identity-button"
class="card__button button expanded button--sc">
<%= t(".vote") %>
</button>