Fix confirm dialog box submit button type

This commit is contained in:
Roberto Rosario
2015-03-31 04:08:02 -04:00
parent 80c04b1fb7
commit be9e536ce9

View File

@@ -44,7 +44,7 @@
<input name="previous" type="hidden" value="{{ previous }}" />
{% endif %}
<button type="button" class="btn btn-danger" data-dismiss="modal">{% trans 'Yes' %}</button>
<button type="submit" class="btn btn-danger" data-dismiss="modal">{% trans 'Yes' %}</button>
{% if previous %}
<a class="btn btn-primary" onclick='{% if previous %}window.location.replace("{{ previous }}");{% else %}history.go(-1);{% endif %}'>{% trans 'No' %}</a>
{% endif %}