<%= l(:label_project_plural) %>
<% @user.memberships.each do |membership| %>
<% form_tag({ :action => 'edit_membership', :id => @user, :membership_id => membership }, :class => "tabular") do %>
<%= submit_tag l(:button_change), :class => "button-small" %>
<%= link_to l(:button_delete), {:action => 'destroy_membership', :id => @user, :membership_id => membership }, :confirm => l(:text_are_you_sure), :post => true, :class => 'icon icon-del' %>
<% end %>
<% end %>
<% form_tag({ :action => 'edit_membership', :id => @user }) do %>
<%= submit_tag l(:button_add) %>
<% end %>