From 293bba0d5d6b489bb60bc82dcbd7f447f4e76d0b Mon Sep 17 00:00:00 2001 From: ailsoncgt Date: Mon, 17 Oct 2016 22:49:22 -0300 Subject: [PATCH] call template tags in topic #183 --- courses/templates/subject/form_view_teacher.html | 104 ++++++++++++++------------------------------------------------------------------------------------------ 1 file changed, 14 insertions(+), 90 deletions(-) diff --git a/courses/templates/subject/form_view_teacher.html b/courses/templates/subject/form_view_teacher.html index d3577f6..d191158 100644 --- a/courses/templates/subject/form_view_teacher.html +++ b/courses/templates/subject/form_view_teacher.html @@ -2,6 +2,7 @@ {% block javascript %} + {% endblock %}
@@ -51,13 +52,21 @@
@@ -108,17 +117,12 @@
@@ -172,86 +176,6 @@
- - - - -{% if user|has_role:'system_admin' or topic.owner == user%} - {% include "files/create_file.html" %} -{% endif %} - - - - -