Fix error on create from this form.

This commit is contained in:
Audrey Roy 2013-06-01 12:54:15 +02:00
parent f2c8480a2f
commit d72d7e4deb

View file

@ -59,7 +59,9 @@
{% endfor %}
<hr/>
{% if object %}
<a class="btn btn-small btn-danger" href="{% url view|admin2_urlname:'delete' pk=object.pk %}">{% trans "Delete" %}</a>
{% endif %}
<div class="pull-right">
<button class="btn btn-small" type="submit" name="_addanother">{% trans "Save and add another" %}</button>