reordered buttons so Update is before Delete

This commit is contained in:
2020-12-31 11:53:13 +11:00
parent c99342232c
commit 08f1550068
3 changed files with 9 additions and 11 deletions

View File

@@ -32,11 +32,9 @@
<br>
</div class="row">
<div class="form-row col-lg-12">
{% if 'Create' in page_title %}
{{ form.submit( class="btn btn-primary offset-lg-3 col-lg-2" )}}
{% else %}
{{ form.delete( class="btn btn-outline-danger offset-lg-3 col-lg-2" )}}
{{ form.submit( class="btn btn-primary col-lg-2" )}}
{{ form.submit( class="btn btn-primary offset-lg-3 col-lg-2" )}}
{% if 'Edit' in page_title %}
{{ form.delete( class="btn btn-outline-danger col-lg-2" )}}
{% endif %}
</div class="form-row">
</form>