Mercurial > hg > soundsoftware-site
diff .svn/pristine/c2/c22734b0a706ecad447a99eddb6be080500c20cb.svn-base @ 926:b73a59a6acbd luisf
Merge from cannam_integration
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Fri, 11 May 2012 16:10:11 +0100 |
parents | cbb26bc654de |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.svn/pristine/c2/c22734b0a706ecad447a99eddb6be080500c20cb.svn-base Fri May 11 16:10:11 2012 +0100 @@ -0,0 +1,25 @@ +<div class="contextual"> +<%= link_to l(:label_group_new), new_group_path, :class => 'icon icon-add' %> +</div> + +<h2><%= l(:label_group_plural) %></h2> + +<% 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"><%= link_to l(:button_delete), group, :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del' %></td> + </tr> +<% end %> +</table> +<% else %> +<p class="nodata"><%= l(:label_no_data) %></p> +<% end %>