<%=h principal_role.role %>
|
<%= call_hook(:principal_roles_table_row, :user => @user, :principal_role => principal_role )%>
<% buttons = {:edit => false} %>
<%= call_hook(:principal_roles_edit_button_needed, :buttons => buttons) %>
<% if buttons[:edit]%>
<%= link_to_function l(:button_edit), "return false;", :class => 'icon icon-edit' %>
<%end%>
<%= link_to_remote(l(:button_delete), { :url => principal_role_url(principal_role.id),
:method => :delete },
:class => 'icon icon-del') %>
|