You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
434 B
23 lines
434 B
11 years ago
|
- banner_title 'Listing users'
|
||
|
|
||
|
.row
|
||
|
%table
|
||
|
%tr
|
||
|
%th Email
|
||
|
%th Crypted password
|
||
|
%th Salt
|
||
|
%th
|
||
|
%th
|
||
|
%th
|
||
|
|
||
|
- @users.each do |user|
|
||
|
%tr
|
||
|
%td= user.email
|
||
|
%td= user.crypted_password
|
||
|
%td= user.salt
|
||
|
%td= link_to 'Show', user
|
||
|
%td= link_to 'Edit', edit_user_path(user)
|
||
|
%td= link_to 'Destroy', user, :method => :delete, :data => { :confirm => 'Are you sure?' }
|
||
|
|
||
|
= link_to 'New User', new_user_path
|