initial
This commit is contained in:
17
django_project/tenants/templates/tenants.html
Normal file
17
django_project/tenants/templates/tenants.html
Normal file
@ -0,0 +1,17 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<table>
|
||||
{% for tenant in tenant_list %}
|
||||
<tr>
|
||||
<td>{{tenant.firstname}}</td>
|
||||
<td>{{tenant.lastname}}</td>
|
||||
<td><a href="{% url 'tenant_detail' tenant.pk %}">Details</a></td>
|
||||
<td><a href="{% url 'tenant_update' tenant.pk %}">Edit</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
<p>
|
||||
<a href="{% url 'tenant_new' %}">Add Tenant</a>
|
||||
</p>
|
||||
{% endblock content %}
|
Reference in New Issue
Block a user