Sha256: 23bd01b4b8024b8d3e28cf730379a77ace7a9bb80c1f6c1f31e33beae466aedb
Contents?: true
Size: 1.31 KB
Versions: 4
Compression:
Stored size: 1.31 KB
Contents
<% content_for :title do %> <h2><%= t "decidim.admin.titles.user_groups" %></h2> <% end %> <table class="stack user-groups"> <thead> <tr> <th><%= t("models.user_group.fields.name", scope: "decidim.admin") %></th> <th><%= t("models.user_group.fields.document_number", scope: "decidim.admin") %></th> <th><%= t("models.user_group.fields.phone", scope: "decidim.admin") %></th> <th><%= t("models.user_group.fields.users_count", scope: "decidim.admin") %></th> <th><%= t("models.user_group.fields.created_at", scope: "decidim.admin") %></th> <th class="actions"><%= t("actions.title", scope: "decidim.admin") %></th> </tr> </thead> <tbody> <% @user_groups.each do |user_group| %> <tr data-user-group-id="<%= user_group.id %>"> <td><%= user_group.name %></td> <td><%= user_group.document_number %></td> <td><%= user_group.phone %></td> <td><%= user_group.users.size %></td> <td><%= l user_group.created_at, format: :short %></td> <td class="actions"> <% if can?(:verify, user_group) && !user_group.verified? %> <%= button_to t("actions.verify", scope: "decidim.admin"), decidim_admin.verify_user_group_path(user_group), method: :put %> <% end %> </td> </tr> <% end %> </tbody> </table>
Version data entries
4 entries across 4 versions & 2 rubygems