Commit d953f692 authored by Douwe Maan's avatar Douwe Maan

Restore Leave button on dashboard groups page

parent b2303350
...@@ -23,10 +23,9 @@ ...@@ -23,10 +23,9 @@
%i.fa.fa-cogs %i.fa.fa-cogs
Settings Settings
- if can?(current_user, :admin_group_member, group) = link_to leave_group_group_members_path(group), data: { confirm: leave_group_message(group.name) }, method: :delete, class: "btn-sm btn btn-grouped", title: 'Leave this group' do
= link_to leave_group_group_members_path(group), data: { confirm: leave_group_message(group.name) }, method: :delete, class: "btn-sm btn btn-grouped", title: 'Leave this group' do %i.fa.fa-sign-out
%i.fa.fa-sign-out Leave
Leave
= image_tag group_icon(group), class: "avatar s40 avatar-tile hidden-xs" = image_tag group_icon(group), class: "avatar s40 avatar-tile hidden-xs"
= link_to group, class: 'group-name' do = link_to group, class: 'group-name' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment