set up supervisor table
This commit is contained in:
@@ -1,8 +1,23 @@
|
||||
{% extends 'generic/supervisor_base.html' %}
|
||||
{% load render_table from django_tables2 %}
|
||||
{% block content %}
|
||||
|
||||
<h2>Supervisors</h2>
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
<h4>Filter</h4>
|
||||
</summary>
|
||||
<div id="view-filter-options">
|
||||
<form action="" method="get">
|
||||
{{ filter.form }}
|
||||
<input class="btn btn-primary btn-sm mt-1 mb-1" type="submit" />
|
||||
</form>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
{% render_table table %}
|
||||
|
||||
<ul id="supervisor-list">
|
||||
{% for supervisor in object_list %}
|
||||
<li class="supervisor"><a href="{% url 'generic:supervisor_detail' pk=supervisor.pk %}">{{supervisor.name}}</a>
|
||||
|
||||
Reference in New Issue
Block a user