djLint/tests/django_cms/admin/cms/page/plugin/submit_line.html
2021-07-29 13:41:34 -05:00

22 lines
870 B
HTML

{% load i18n admin_urls cms_tags %}
<div class="submit-row">
{% if show_save %}
<input type="submit" value="{% trans 'Save' %}" class="default" name="_save" />
{% endif %}
{% if show_delete_link %}
<p class="deletelink-box">
<a href="{% cms_admin_url "cms_page_delete_plugin" original.pk %}" class="deletelink">
{% trans "Delete" %}
</a>
</p>
{% endif %}
{% if show_save_as_new %}
<input type="submit" value="{% trans 'Save as new' %}" name="_saveasnew" />
{% endif %}
{% if show_save_and_add_another %}
<input type="submit" value="{% trans 'Save and add another' %}" name="_addanother" />
{% endif %}
{% if show_save_and_continue %}
<input type="submit" value="{% trans 'Save and continue editing' %}" name="_continue" />
{% endif %}
</div>