submit_line.html 930 B

12345678910111213
  1. {% load i18n admin_urls jet_tags %}
  2. <div class="submit-row">
  3. {% if show_save %}<input type="submit" value="{% trans 'Save' %}" class="default" name="_save" />{% endif %}
  4. {% if show_save_as_new %}<input type="submit" class="button-secondary" value="{% trans 'Save as new' %}" name="_saveasnew" />{% endif %}
  5. {% if show_save_and_add_another %}<input type="submit" class="button-secondary" value="{% trans 'Save and add another' %}" name="_addanother" />{% endif %}
  6. {% if show_save_and_continue %}<input type="submit" class="button-secondary" value="{% trans 'Save and continue editing' %}" name="_continue" />{% endif %}
  7. {% if show_delete_link %}
  8. {% url opts|admin_urlname:'delete' original.pk|admin_urlquote as delete_url %}
  9. <p class="deletelink-box"><a href="{% jet_add_preserved_filters delete_url %}" class="deletelink button button-red">{% trans "Delete" %}</a></p>
  10. {% endif %}
  11. </div>