Merge pull request #2773 from evazion/fix-2772

Fix #2772: Topics set as mod+ can't be reverted to public ones.
This commit is contained in:
Albert Yi
2016-11-28 11:55:45 -08:00
committed by GitHub
3 changed files with 12 additions and 19 deletions

View File

@@ -18,7 +18,7 @@
<% end %>
<% if CurrentUser.is_moderator? %>
<%= f.input :min_level, :as => :select, :collection => ForumTopic.available_min_user_levels.to_a %>
<%= f.input :min_level, :include_blank => false, :collection => available_min_user_levels %>
<%= f.input :is_sticky, :label => "Sticky" %>
<%= f.input :is_locked, :label => "Locked" %>
<% end %>