fisk/core/templates/window-content/object-form.html

28 lines
468 B
HTML
Raw Normal View History

2022-10-16 13:14:53 +00:00
{% include 'partials/notify.html' %}
{% load crispy_forms_tags %}
{% load crispy_forms_bulma_field %}
<form
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-post="{{ submit_url }}"
hx-target="#modals-here"
hx-swap="innerHTML">
2022-10-16 13:14:53 +00:00
{% csrf_token %}
{{ form|crispy }}
<button
type="button"
class="button is-light modal-close-button">
Cancel
</button>
<button type="submit" class="button modal-close-button">Submit</button>
2022-10-16 13:14:53 +00:00
</form>