BikeBikeBike/app/views/users/index.html.haml

23 lines
434 B
Plaintext
Raw Normal View History

2014-03-09 14:43:33 -06:00
- 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