AutoCommit Don Sep 3 12:03:05 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-09-03 12:03:05 +02:00
parent 4835155d06
commit 984e5f4b56
6 changed files with 36 additions and 12 deletions

View File

@@ -55,7 +55,7 @@ end
<ul>
<% @memberships.each do |m| %>
<li>
<%= link_to m.gremium do %> <%= render m %><% end %>
<%= link_to gremium_path(m.gremium) do %> <%= render m %><% end %>
<%= link_to I18n.t('common.edit'), edit_fetprofile_membership_path(@fetprofile,m) if params["verwalten"] && can?(:edit, m)%>
<%= link_to I18n.t('common.delete'), [@fetprofile, m], method: :delete, data: {confirm: I18n.t('common.sure_del')} if params["verwalten"] && can?(:delete, m ) %>
</li>