mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-25 10:30:26 +00:00
17 lines
544 B
HTML
17 lines
544 B
HTML
{% extends "admin2/bootstrap/base.html" %}
|
|
|
|
{% block title %}Add {{ model }}{% endblock %}
|
|
|
|
{% block page_title %}Add {{ model }}{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
{{ form.as_p }}
|
|
<button class="btn btn-small" type="submit" name="_addanother">Save and add another</button>
|
|
<button class="btn btn-small" type="submit" name="_continue">Save and continue editing</button>
|
|
<button class="btn btn-small btn-success" type="submit" name="_save">Save</button>
|
|
</form>
|
|
|
|
{% endblock content %}
|