[refs #144] fix template
This commit is contained in:
parent
549fc242d8
commit
b0d0b21ec4
|
@ -22,7 +22,8 @@
|
|||
%td
|
||||
= link_to group.owner.name, user_path(group.owner)
|
||||
%td.last
|
||||
#{link_to t("layout.show"), group_path(group)} | #{link_to t("layout.edit"), edit_group_path(group)} | #{link_to t("layout.delete"), group_path(group), :method => :delete, :confirm => t("layout.groups.confirm_delete")}
|
||||
= raw [(link_to t("layout.edit"), edit_group_path(group) if can? :update, group),
|
||||
(link_to t("layout.delete"), group_path(group), :method => :delete, :confirm => t("layout.groups.confirm_delete") if can? :destroy, group)].compact.join(' | ')
|
||||
.actions-bar.wat-cf
|
||||
.actions= will_paginate @groups, :param_name => :group_page
|
||||
|
||||
|
|
Loading…
Reference in New Issue