From 578baf072d6e461d2cb3c1b707ae9b8be57aef22 Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 25 Mar 2013 22:55:32 -0400 Subject: [PATCH] fixes #1064 --- app/views/users/edit.html.erb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb index 0a9456c6d..08b57b254 100644 --- a/app/views/users/edit.html.erb +++ b/app/views/users/edit.html.erb @@ -14,7 +14,11 @@ <%= f.input :receive_email_notifications, :as => :select, :include_blank => false %> <%= f.input :comment_threshold, :hint => "Comments below this score will be hidden by default" %> <%= f.input :default_image_size, :hint => "Show original image or show resampled #{Danbooru.config.large_image_width} pixel version", :label => "Image size", :collection => %w(large original), :include_blank => false %> - <%= f.input :per_page, :label => "Posts per page", :as => :select, :collection => (1..100), :include_blank => false %> + + <% if CurrentUser.user.is_privileged? %> + <%= f.input :per_page, :label => "Posts per page", :as => :select, :collection => (1..100), :include_blank => false %> + <% end %> + <%= f.input :blacklisted_tags, :hint => "Put any tag combinations you never want to see here. Each combination should go on a separate line.", :input_html => {:size => "40x5"} %>