29 lines
540 B
HTML
29 lines
540 B
HTML
|
{% extends 'wm/modal.html' %}
|
||
|
{% load crispy_forms_tags %}
|
||
|
|
||
|
{% load crispy_forms_bulma_field %}
|
||
|
{% block modal_content %}
|
||
|
<form
|
||
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
||
|
hx-put="{% url 'add-hook' %}"
|
||
|
hx-target="#hooks-table"
|
||
|
hx-swap="outerHTML">
|
||
|
{% csrf_token %}
|
||
|
{{ form|crispy }}
|
||
|
<button
|
||
|
type="button"
|
||
|
class="button is-light modal-close-button">
|
||
|
Cancel
|
||
|
</button>
|
||
|
<button type="submit" class="button is-info modal-close-button">Submit</button>
|
||
|
</form>
|
||
|
{% endblock %}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|