{% extends 'cbvadmin/semantic-ui/base_site.html' %} {% load static i18n django_tables2 %} {% block title %}{{ view.admin.model_opts.verbose_name_plural|capfirst }}{% endblock %} {% block content %} {% block actions %}
{% if view.has_filters and filter.form %}
{% trans 'Filter' %}
{% endif %} {% if view.has_filters and filter.form and admin.urls.add %}
{% endif %} {% if admin.urls.add %} {% trans 'Add' %} {% endif %}
{% endblock %} {% if view.has_filters and filter.form %} {% include 'cbvadmin/semantic-ui/filter.html' %} {% endif %} {% load render_table from django_tables2 %} {% render_table table 'cbvadmin/semantic-ui/table.html' %} {% endblock %} {% block extrascript %} {{ block.super }} {% endblock %}