Listing users

<%= link_to 'New User', new_user_path %> <%= link_to 'Upload all users', upload_all_path %> <% @users.each do |user| %> <% end %>
Name Card DB ID Card Number Permissions
<%= user.name %> <%= user.card_id %> <%= user.card_number %> <%= user.card_permissions %> <%= link_to 'Upload', upload_path(user) %> <%= link_to 'Edit', edit_user_path(user) %> <%= link_to 'Destroy', user, :confirm => 'Are you sure?', :method => :delete %>