improv
This commit is contained in:
parent
66c4c1fe4f
commit
2c2e34b71e
42 changed files with 910 additions and 939 deletions
7
templates/inventory_record/_modal_form.html.twig
Normal file
7
templates/inventory_record/_modal_form.html.twig
Normal file
|
@ -0,0 +1,7 @@
|
|||
{{ form_start(form, {'attr': {'hx-post': form.vars.action, 'hx-target': '#htmxModalBody'}}) }}
|
||||
{{ form_widget(form) }}
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
||||
<button type="submit" class="btn btn-primary">{{ button_label|default('Save') }}</button>
|
||||
</div>
|
||||
{{ form_end(form) }}
|
Loading…
Add table
Add a link
Reference in a new issue