This commit is contained in:
z9hang 2014-10-21 16:35:12 +08:00
commit f576fb994b
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@
:class => 'icon icon-edit' %>
<%= delete_link membership_path(member),
:remote => true,
:data => (!User.current.admin? && member.include?(User.current) ? {:confirm => l(:text_own_membership_delete_confirmation)} : {}) if member.deletable? %>
:data => (!User.current.admin? && member.include?(User.current) ? {:confirm => l(:text_own_membership_delete_confirmation)} : {confirm: l(:label_delete_confirm)}) if member.deletable? %>
</td>
<% end %>
<!--end-->