app/views/users/index.html.erb in tkh_authentication-0.9.2 vs app/views/users/index.html.erb in tkh_authentication-0.9.3

- old
+ new

@@ -6,10 +6,11 @@ <thead> <tr> <th><%= t 'authentication.name' %></th> <th><%= t 'activerecord.attributes.user.email' %></th> <th><%= t('question_mark_inverted') %><%= t('activerecord.attributes.user.admin') %><%= t('question_mark') %></th> + <th><%= t('actions') %></th> </tr> </thead> <tbody> <% @users.each do |user| %> @@ -21,9 +22,10 @@ <span class="label label-important">X</span> <%= link_to t('authentication.enable_admin'), make_admin_user_path(user), class: 'btn btn-mini', method: :post %> <% else %> <span class="label label-success">✓</span> <%= link_to t('authentication.disable_admin'), remove_admin_user_path(user), class: 'btn btn-mini', method: :post %> <% end -%> </td> + <td><%= link_to t('edit'), edit_detail_path(user), class: 'btn btn-mini' %><%= link_to t('delete'), Detail.find(user.id), method: :delete, data: { confirm: t('are_you_sure') }, class: 'btn btn-mini btn-danger' %></td> </tr> <% end %> </tbody> </table>