fix the form

This commit is contained in:
Andreas Zweili 2021-12-21 18:17:58 +01:00
parent ba3e40f1c2
commit 1573d148ad
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<form method="post">
{% csrf_token %}
{{ form|crispy }}
<input type="submit" value="Save" class="btn btn-primary">
<button type="submit" class="btn btn-primary" hx-post="{% url 'htmx_create_customer' %}">Save</button>
<a href="{% url 'customers' %}" class="btn btn-secondary">Cancel</a>
</form>
</div>