Merge pull request #169 from audreyr/develop

Fix error on create from model update form.
This commit is contained in:
Daniel Greenfeld 2013-06-01 03:55:17 -07:00
commit 26211ac3d2

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>