nk20/templates/member/club_list.html

18 lines
375 B
HTML
Raw Normal View History

2019-08-11 21:25:27 +00:00
{% extends "base.html" %}
{% block content %}
<table class="table">
<tr>
<td>ID</td>
<td>name</td>
</tr>
{% for object in object_list %}
<tr>
<td>{{object.pk}}</td>
<td><a href="{{ object.get_absolute_url }}"> {{ object.name }}</a></td>
</tr>
{% endfor %}
</table>
<a class="btn btn-primary" href="{% url 'member:club_create' %}">New Club</a>
{% endblock %}