app/views/decidim/admin/users/index.html.erb in decidim-admin-0.5.1 vs app/views/decidim/admin/users/index.html.erb in decidim-admin-0.6.0
- old
+ new
@@ -21,10 +21,10 @@
</tr>
</thead>
<tbody>
<% @users.each do |user| %>
<tr data-user-id="<%= user.id %>">
- <td><%= t(user.active_role, scope: "decidim.admin.models.user.fields.roles") %></td>
+ <td><%= t("models.user.fields.roles.#{user.active_role}", scope: "decidim.admin") %></td>
<td><%= user.name %></td>
<td><%= user.email %></td>
<td>
<% if user.invitation_sent_at %>
<%= l user.invitation_sent_at, format: :short %>