{% extends "administration/base.html" %} {% load i18n %} {% load utils %} {% block content %} <div class="container"> {% block above_table %} {% endblock %} <table class="table table-striped table-bordered"> <thead> <tr> <th>{% trans 'Name' %}</th> <th>{% trans 'Class' %}</th> <th></th> </tr> </thead> <tbody> {% for source in object_list %} <tr> <td>{{ source.name }}</td> <td>{{ source.cast|fieldtype }}</td> <td><a href="{% url 'passbook_admin:source-update' pk=source.pk %}?back={{ request.get_full_path }}">{% trans 'Edit' %}</a></td> </tr> {% endfor %} </tbody> </table> </div> {% endblock %}