14 lines
498 B
HTML
14 lines
498 B
HTML
|
{% extends 'admin/change_form.html' %}
|
||
|
|
||
|
{% block submit_buttons_bottom %}
|
||
|
{{ block.super }}
|
||
|
<div class="submit-row">
|
||
|
{% if original.status != original.PUBLISHED %}
|
||
|
<input type="submit" value="Save & publish" name="_publish">
|
||
|
{% elif original.status != original.DRAFT %}
|
||
|
<input type="submit" value="Save & unpublish" name="_unpublish">
|
||
|
{% endif %}
|
||
|
<input type="submit" value="Save & preview" name="_preview">
|
||
|
</div>
|
||
|
{% endblock %}
|