templates/admin/users.rb in prologue-0.1.2 vs templates/admin/users.rb in prologue-0.2.0
- old
+ new
@@ -109,16 +109,14 @@
%thead
%tr
%th Name
%th Email
%th
- %th
%tbody
- - for user in @users
+ - @users.each do |user|
%tr
- %td= user.name
+ %td= link_to user.name, edit_admin_user_path(user), :class => 'edit_link'
%td= user.email
- %td= link_to "Edit", edit_admin_user_path(user), :class => 'edit_link'
%td
- if user.id != current_user.id
= link_to "Delete", admin_user_path(user), :confirm => 'Are you sure?', :method => :delete, :class => 'delete_link'
- else
That's you!