refactor: modal homogenity

This commit is contained in:
Per Stark
2025-02-13 11:21:24 +01:00
parent 30de324879
commit ecee3415f6
5 changed files with 23 additions and 16 deletions

View File

@@ -1,9 +1,10 @@
<dialog id="body_modal" class="modal">
<div class="modal-box">
<form id="modal_form" {% block form_attributes %}{% endblock %}>
{% block modal_content %}
<!-- Form fields go here in child templates -->
{% endblock %}
<div class="flex flex-col space-y-4">
{% block modal_content %} <!-- Form fields go here in child templates -->
{% endblock %}
</div>
<div class="modal-action">
<!-- Close button (always visible) -->