Resourcified roles.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8145 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
b127f9157d
commit
532a76f78c
10 files changed
+82
-57
No files matched your search
@@ -1,6 +1,6 @@
|
||||
<h2><%= link_to l(:label_role_plural), :controller => 'roles', :action => 'index' %> » <%=h @role.name %></h2>
|
||||
<h2><%= link_to l(:label_role_plural), roles_path %> » <%=h @role.name %></h2>
|
||||
|
||||
<% labelled_form_for :role, @role, :url => { :action => 'edit' }, :html => {:id => 'role_form'} do |f| %>
|
||||
<% labelled_form_for @role do |f| %>
|
||||
<%= render :partial => 'form', :locals => { :f => f } %>
|
||||
<%= submit_tag l(:button_save) %>
|
||||
<% end %>
|
||||
Reference in new issue
Block a user