buttons in table footer
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user