add ban to post mode menu

This commit is contained in:
Albert Yi
2016-12-09 11:56:25 -08:00
parent dfb7a000a5
commit 2af622e7a7
6 changed files with 33 additions and 2 deletions

View File

@@ -20,6 +20,9 @@
<% if CurrentUser.can_approve_posts? %>
<option value="approve">Approve</option>
<% end %>
<% if CurrentUser.is_admin? %>
<option value="ban">Ban</option>
<% end %>
</select>
</form>
<input id="tag-script-field" placeholder="Enter tag script" style="display: none; margin-top: 0.5em;"></input>