mirror of
https://github.com/Hopiu/djLint.git
synced 2026-04-11 01:20:59 +00:00
32 lines
1.4 KiB
HTML
32 lines
1.4 KiB
HTML
{% load i18n cms_tags admin_urls %}
|
|
<div class="submit-row"
|
|
{% if is_popup %}style="overflow: auto;" {% endif %}
|
|
>
|
|
{% if show_save %}
|
|
<input type="submit" value="{% trans 'Save' %}" class="default" name="_save" />
|
|
{% endif %}
|
|
<p class="deletelink-box">
|
|
{% if show_delete_link %}
|
|
<a href="delete/" class="deletelink">{% trans "Delete" %}</a>
|
|
{% endif %}
|
|
{% if show_buttons %}
|
|
<a href="{% url opts|admin_urlname:'change' object_id %}?language={{ language }}"
|
|
class="cms-btn-group{% if basic_info_active %}cms-btn-active{% endif %}">
|
|
{% trans "Basic Settings" %}
|
|
</a>
|
|
<a href="{% url opts|admin_urlname:'advanced' object_id %}?language={{ language }}"
|
|
class="cms-btn-group{% if advanced_settings_active %}cms-btn-active{% endif %}">
|
|
{% trans "Advanced Settings" %}
|
|
</a>
|
|
{% endif %}
|
|
</p>
|
|
{% 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>
|