Don't show attributes on role form for built-in roles.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@788 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2007-10-01 14:00:38 +00:00
1 parent 50096526bc
commit ca094446b3
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
<h2><%=l(:label_role)%></h2>
<h2><%=l(:label_role)%>: <%= @role.name %></h2>
<% labelled_tabular_form_for :role, @role, :url => { :action => 'edit' }, :html => {:id => 'role_form'} do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>