diff --git a/app/views/fetprofiles/show.html.erb b/app/views/fetprofiles/show.html.erb
index ba637c8..5a44b10 100644
--- a/app/views/fetprofiles/show.html.erb
+++ b/app/views/fetprofiles/show.html.erb
@@ -13,7 +13,7 @@
<%= @fetprofile.desc %>
- <%= link_to 'Destroy', @fetprofile, method: :delete, data: { confirm: 'Are you sure?' } %>
+
@@ -24,8 +24,8 @@
<% @fetprofile.memberships.each do |m| %>
<%= render m %>
- <%= link_to 'edit', edit_fetprofile_membership_path(@fetprofile,m) if params["verwalten"]%>
- <%= link_to 'delete', [@fetprofile, m], method: :delete, data: {confirm: 'Sure?'} if params["verwalten"] %>
+ <%= link_to 'edit', edit_fetprofile_membership_path(@fetprofile,m) if params["verwalten"] && can?(:delete, m)%>
+ <%= link_to 'delete', [@fetprofile, m], method: :delete, data: {confirm: 'Sure to delete?'} if params["verwalten"] && can?(:delete, m ) %>
<% end %>