summaryrefslogtreecommitdiffstats
path: root/redmine/app/views/roles/list.rhtml
blob: eb1a9ecc2a937f85096c8a648747933bef97899e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<h2><%=_('Roles')%></h2>

<table border="0" cellspacing="1" cellpadding="2" class="listTableContent">
  <tr class="ListHead">
    <th><%=_('Role')%></th>
	<th></th>
  </tr>
  
<% for role in @roles %>
  <tr class="<%= cycle("odd", "even") %>">
  <td><%= link_to role.name, :action => 'edit', :id => role %></td>
  <td align="center">
    <%= start_form_tag :action => 'destroy', :id => role %>
    <%= submit_tag _('Delete'), :class => "button-small" %>
    <%= end_form_tag %>
  </tr>
<% end %>
</table>

<%= pagination_links_full @role_pages %>
<br />

<%= link_to '&#187; ' + _('New role'), :action => 'new' %>