<%= link_to l(:label_role_plural), :controller => 'roles', :action => 'index' %> » <%=h @role.name%>

<% labelled_tabular_form_for @role, :url => { :action => 'update' }, :html => {:id => 'role_form'}, :as => :role do |f| %> <%= hidden_field_tag :id, @role.id %> <%= render :partial => 'form', :locals => { :f => f , :role => @role, :member_permissions => (@role.is_a?(GlobalRole) ? nil : @permissions), :global_permissions => (@role.is_a?(GlobalRole) ? @permissions : nil)} %> <%= submit_tag l(:button_update) %> <% end %>