forked from AFPy/afpy.org
Fix publish / unpublish button on post edit form
This commit is contained in:
parent
d8589223fa
commit
7b3449c50c
|
@ -60,7 +60,7 @@
|
|||
</label>
|
||||
<input type="submit" value="Enregistrer" class="button" />
|
||||
{% if admin %}
|
||||
{% if post.state == 'waiting' %}
|
||||
{% if post._state == 'waiting' %}
|
||||
<input type="submit" name="publish" value="Publier" class="button" />
|
||||
{% else %}
|
||||
<input type="submit" name="unpublish" value="Dépublier" class="button" />
|
||||
|
|
Loading…
Reference in New Issue
Block a user