Add bumplock to post modify form, and add set_bump permission

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-06-30 18:42:16 -07:00
parent 0ac383ce6c
commit 638d8cd349
3 changed files with 8 additions and 8 deletions

View File

@@ -5,12 +5,7 @@
<form method="post" action="{% url 'board:post_modify' post.id %}">
{% csrf_token %}
<table>
{% if perms.board.set_sticky %}
<tr>
<th>{{form.sticky.label_tag}}</th>
<td>{{form.sticky}}</td>
</tr>
{% endif %}
{{form}}
<tr><td>&nbsp;</td><td><input type="submit" value="Modify post" /></td></tr>
</table>
</form>