Add bumplock to post modify form, and add set_bump permission
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -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> </td><td><input type="submit" value="Modify post" /></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user