buttons in table footer

This commit is contained in:
2025-07-11 20:26:02 +03:00
parent d72cf0a0b3
commit d986fdf232
46 changed files with 1828 additions and 1720 deletions
+10
View File
@@ -20,6 +20,16 @@
<td>{{ object.created_by.username }}</td>
{% endblock %}
{% block buttons %}
<a href="{% url 'client_preinfo_create' %}" class="btn btn-primary">Create Preinfo</a>
<a href="#" id="editBtn" data-url="{% url 'client_preinfo_update' pk=0 %}" class="btn btn-primary" disabled>Edit Preinfo</a>
<button id="deleteButton" class="btn btn-danger">Delete Preinfo</button>
{% endblock buttons %}
{% block create_modal_header %}
<h2>Create Preinfo</h2>
{% endblock %}
{% block modal_header %}
<h2>Edit Preinfo</h2>
{% endblock modal_header %}