mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-04-01 14:00:31 +00:00
24 lines
740 B
HTML
24 lines
740 B
HTML
{% extends "admin2/bootstrap/base.html" %}
|
|
|
|
{% block title %}Change {{ model }}{% endblock %}
|
|
|
|
{% block page_title %}Change {{ model }}{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
<div class="span12">
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
{{ form.as_p }}
|
|
|
|
{# TODO: combine/refactor this with model_add_form.html #}
|
|
|
|
<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>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock content %}
|