@@ -1,25 +1,26 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <%= link_to l(:label_group_new), new_group_path, :class => 'icon icon-add' %> |
|
3 | 3 | </div> |
|
4 | 4 | |
|
5 | 5 | <h2><%= l(:label_group_plural) %></h2> |
|
6 | 6 | |
|
7 | 7 | <% if @groups.any? %> |
|
8 | 8 | <table class="list groups"> |
|
9 | 9 | <thead><tr> |
|
10 | 10 | <th><%=l(:label_group)%></th> |
|
11 | 11 | <th><%=l(:label_user_plural)%></th> |
|
12 | 12 | <th></th> |
|
13 | 13 | </tr></thead> |
|
14 | 14 | <tbody> |
|
15 | 15 | <% @groups.each do |group| %> |
|
16 | 16 | <tr class="<%= cycle 'odd', 'even' %>"> |
|
17 | 17 | <td><%= link_to h(group), edit_group_path(group) %></td> |
|
18 | 18 | <td align="center"><%= group.users.size %></td> |
|
19 | 19 | <td class="buttons"><%= delete_link group %></td> |
|
20 | 20 | </tr> |
|
21 | 21 | <% end %> |
|
22 | </tbody> | |
|
22 | 23 | </table> |
|
23 | 24 | <% else %> |
|
24 | 25 | <p class="nodata"><%= l(:label_no_data) %></p> |
|
25 | 26 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now