15 lines
597 B
Plaintext
15 lines
597 B
Plaintext
= link_to t("layout.groups.new"), new_group_path, :class => "button"
|
|
%table#myTable.tablesorter.group-list{:cellpadding => "0", :cellspacing => "0"}
|
|
%thead
|
|
%tr
|
|
%th.th1= t("layout.groups.group")
|
|
%th.th2= t("layout.groups.description")
|
|
%th= t("layout.groups.leave_group")
|
|
%tbody
|
|
- @groups.each do |group|
|
|
%tr#Row1
|
|
%td= link_to group.name, group_path(group)
|
|
%td.td2= group.description
|
|
%td.td5
|
|
= link_to image_tag('x.png'), remove_group_member_path(group, current_user), :method => :delete unless group.owner_id == current_user.id
|