summaryrefslogtreecommitdiffstats
path: root/app/views/roles/edit.html.erb
blob: 2b1bd793bae9566abf33cbf89d0a1b59c0220a1a (plain)
1
2
3
4
5
6
<h2><%= link_to l(:label_role_plural), :controller => 'roles', :action => 'index' %> &#187; <%=h @role.name %></h2>

<% labelled_form_for :role, @role, :url => { :action => 'edit' }, :html => {:id => 'role_form'} do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
<%= submit_tag l(:button_save) %>
<% end %>