ref: master
app/views/role/edit.html.erb
<%= _("Editing %s") % @role.name %> <%= render :partial => 'form', :locals => { :mode => :edit, :role => @role, :permissions => role_available_permissions(@role) } %>