diff options
Diffstat (limited to 'app/views/roles')
-rw-r--r-- | app/views/roles/_form.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/roles/_form.html.erb b/app/views/roles/_form.html.erb index 8ae0a604f..d028c2f1c 100644 --- a/app/views/roles/_form.html.erb +++ b/app/views/roles/_form.html.erb @@ -1,5 +1,6 @@ <%= error_messages_for 'role' %> +<% unless @role.anonymous? %> <div class="box tabular"> <% unless @role.builtin? %> <p><%= f.text_field :name, :required => true %></p> @@ -11,6 +12,7 @@ <%= select_tag(:copy_workflow_from, content_tag("option") + options_from_collection_for_select(@roles, :id, :name, params[:copy_workflow_from] || @copy_from.try(:id))) %></p> <% end %> </div> +<% end %> <h3><%= l(:label_permissions) %></h3> <div class="box tabular" id="permissions"> |