summaryrefslogtreecommitdiffstats
path: root/app/views/roles/_form.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/roles/_form.html.erb')
-rw-r--r--app/views/roles/_form.html.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/roles/_form.html.erb b/app/views/roles/_form.html.erb
index 1d4ce3a2a..03cbe58d2 100644
--- a/app/views/roles/_form.html.erb
+++ b/app/views/roles/_form.html.erb
@@ -10,6 +10,10 @@
<p><%= f.select :issues_visibility, Role::ISSUES_VISIBILITY_OPTIONS.collect {|v| [l(v.last), v.first]} %></p>
<% end %>
+ <% unless @role.anonymous? %>
+ <p><%= f.select :time_entries_visibility, Role::TIME_ENTRIES_VISIBILITY_OPTIONS.collect {|v| [l(v.last), v.first]} %></p>
+ <% end %>
+
<p><%= f.select :users_visibility, Role::USERS_VISIBILITY_OPTIONS.collect {|v| [l(v.last), v.first]} %></p>
<% if @role.new_record? && @roles.any? %>