Add user permissions for flagging and for giving user feedback

This commit is contained in:
Albert Yi
2018-12-11 16:41:20 -08:00
parent c34df49f0f
commit 4706cae114
10 changed files with 96 additions and 6 deletions

View File

@@ -20,6 +20,16 @@
<%= select(:user, :can_approve_posts, [["Yes", true], ["No", false]]) %>
</div>
<div class="input">
<label for="user_no_flagging" class="optional">Banned From Flagging</label>
<%= select(:user, :no_flagging, [["Yes", true], ["No", false]]) %>
</div>
<div class="input">
<label for="user_no_feedback" class="optional">Banned From Giving Feedback</label>
<%= select(:user, :no_feedback, [["Yes", true], ["No", false]]) %>
</div>
<%= submit_tag "Update" %>
<% end %>
</div>