diff --git a/anatomy/templates/anatomy/view.html b/anatomy/templates/anatomy/view.html new file mode 100755 index 00000000..261aee73 --- /dev/null +++ b/anatomy/templates/anatomy/view.html @@ -0,0 +1,28 @@ +{% extends 'anatomy/base.html' %} + +{% load render_table from django_tables2 %} +{% block css %} +{% endblock %} + +{% block content %} + +
+

Filter Anatomy Questions

+
+ {{ filter.form }} + +
+
+{% render_table table %} + + +
+ + +{% endblock %} \ No newline at end of file diff --git a/anatomy/views.py b/anatomy/views.py index c2d17058..94952f4e 100644 --- a/anatomy/views.py +++ b/anatomy/views.py @@ -942,7 +942,7 @@ def get_structure_id(request): class AnatomyQuestionView(LoginRequiredMixin, SingleTableMixin, FilterView): model = AnatomyQuestion table_class = AnatomyQuestionTable - template_name = "anatomy/question_list.html" + template_name = "anatomy/views.html" filterset_class = AnatomyQuestionFilter