From 2fea2d5cc0a1b7ab66006e15834837378e851f98 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 17 Dec 2013 00:58:25 +0100 Subject: [PATCH] fix admin filters --- teleforma/admin.py | 3 +++ teleforma/templates/teleforma/answer_form.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/teleforma/admin.py b/teleforma/admin.py index 48b566c8..ea6f9266 100644 --- a/teleforma/admin.py +++ b/teleforma/admin.py @@ -21,6 +21,9 @@ class AuditorProfileInline(admin.StackedInline): model = Auditor filter_vertical = ['seminars', 'conferences'] + class Media: + css = { 'all': ('admin/extra.css',) } + class StudentAdmin(admin.ModelAdmin): model = Student exclude = ['options'] diff --git a/teleforma/templates/teleforma/answer_form.html b/teleforma/templates/teleforma/answer_form.html index a1fefffa..d6c2d021 100644 --- a/teleforma/templates/teleforma/answer_form.html +++ b/teleforma/templates/teleforma/answer_form.html @@ -81,7 +81,7 @@ $(document).ready(function(){

{% trans "Step" %} 4 : {% trans "answer to this question" %}{% if question.rank %} n°{{ question.rank }}{% endif %} ({{question.min_nchar}} {% trans "characters" %} {% trans "minimum" %})

-
+
{{ question.question|safe }}
-- 2.39.5