You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
668 B
27 lines
668 B
<div class="contextual">
|
|
<%= link_to l(:label_group_new), new_group_path, :class => 'icon icon-add' %>
|
|
</div>
|
|
|
|
<h3><%= l(:label_group_plural) %></h3>
|
|
|
|
<% if @groups.any? %>
|
|
<table class="list groups">
|
|
<thead><tr>
|
|
<th><%=l(:label_group)%></th>
|
|
<th><%=l(:label_user_plural)%></th>
|
|
<th></th>
|
|
</tr></thead>
|
|
<tbody>
|
|
<% @groups.each do |group| %>
|
|
<tr class="<%= cycle 'odd', 'even' %>">
|
|
<td><%= link_to h(group), edit_group_path(group) %></td>
|
|
<td align="center"><%= group.users.size %></td>
|
|
<td class="buttons"><%= delete_link group %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
<% else %>
|
|
<p class="nodata"><%= l(:label_no_data) %></p>
|
|
<% end %>
|