mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-04-02 14:20:29 +00:00
Merge pull request #169 from audreyr/develop
Fix error on create from model update form.
This commit is contained in:
commit
26211ac3d2
1 changed files with 2 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue