@@ -1,5 +1,3 | |||
|
1 |
< |
|
|
1 | <%= title [l(:label_group_plural), groups_path], @group.name %> | |
|
2 | 2 | |
|
3 | 3 | <%= render_tabs group_settings_tabs %> |
|
4 | ||
|
5 | <% html_title(l(:label_group), @group, l(:label_administration)) -%> |
@@ -1,26 +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 | <%= title l(:label_group_plural) %> | |
|
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 | 22 | </tbody> |
|
23 | 23 | </table> |
|
24 | 24 | <% else %> |
|
25 | 25 | <p class="nodata"><%= l(:label_no_data) %></p> |
|
26 | 26 | <% end %> |
@@ -1,9 +1,9 | |||
|
1 |
< |
|
|
1 | <%= title [l(:label_group_plural), groups_path], l(:label_group_new) %> | |
|
2 | 2 | |
|
3 | 3 | <%= labelled_form_for @group do |f| %> |
|
4 | 4 | <%= render :partial => 'form', :locals => { :f => f } %> |
|
5 | 5 | <p> |
|
6 | 6 | <%= f.submit l(:button_create) %> |
|
7 | 7 | <%= f.submit l(:button_create_and_continue), :name => 'continue' %> |
|
8 | 8 | </p> |
|
9 | 9 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now