From: Guillaume Pellerin Date: Mon, 16 Dec 2013 23:58:25 +0000 (+0100) Subject: fix admin filters X-Git-Tag: 2.8.1-pro~422 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=2fea2d5cc0a1b7ab66006e15834837378e851f98;p=teleforma.git fix admin filters --- 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 }}