editor: cancel button should not submit the form

This commit is contained in:
Laura Klünder 2016-09-24 17:38:34 +02:00
parent 9a5cbd5ba7
commit e1a06e4659

View file

@ -5,7 +5,7 @@
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button id="btn_abort" class="btn btn-danger">
<button type="button" id="btn_abort" class="btn btn-danger">
Cancel
</button>
<button type="submit" class="btn btn-primary pull-right">