First version of blocking feature. Allows both time-based (for map protection) and...
[rails.git] / app / views / user_roles / index.html.erb
1 <h1>Listing user_roles</h1>
2
3 <table>
4   <tr>
5     <th>User</th>
6     <th>Role</th>
7   </tr>
8
9 <% @user_roles.each do |user_role| %>
10   <tr>
11     <td><%=h user_role.user_id %></td>
12     <td><%=h user_role.role %></td>
13     <td><%= link_to 'Show', user_role %></td>
14     <td><%= link_to 'Edit', edit_user_role_path(user_role) %></td>
15     <td><%= link_to 'Destroy', user_role, :confirm => 'Are you sure?', :method => :delete %></td>
16   </tr>
17 <% end %>
18 </table>
19
20 <br />
21
22 <%= link_to 'New user_role', new_user_role_path %>