File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
control/templates/pretixcontrol/items
presale/templates/pretixpresale/event Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
{% extends "pretixcontrol/items/base.html" %}
2
2
{% load i18n %}
3
+ {% load rich_text %}
3
4
{% block title %}{% trans "Questions" %}{% endblock %}
4
5
{% block inside %}
5
6
< nav id ="event-nav " class ="header-nav ">
@@ -49,7 +50,7 @@ <h1>{% trans "Questions" %}</h1>
49
50
< a href ="{% url "control:event.items.questions.show " organizer=request.event.organizer.slug event =request.event.slug question =q.id %} ">
50
51
{% endif %}
51
52
{% endif %}
52
- {{ q.question }}
53
+ {{ q.question|rich_text_snippet }}
53
54
{% if q.pk %}
54
55
</ a >
55
56
{% endif %}
Original file line number Diff line number Diff line change 95
95
{% endif %}
96
96
{% for q in line.questions %}
97
97
{% if q.type != "DES" %}
98
- < dt > {{ q.question }}</ dt >
98
+ < dt > {{ q.question|rich_text_snippet }}</ dt >
99
99
< dd >
100
100
{% if q.answer %}
101
101
{% if q.answer.file %}
115
115
{% endif %}
116
116
{% endfor %}
117
117
{% for q in line.additional_answers %}
118
- < dt > {{ q.question }}</ dt >
118
+ < dt > {{ q.question|rich_text_snippet }}</ dt >
119
119
< dd > {% if q.answer %}{{ q.answer|linebreaksbr }}{% else %}< em > {% trans "not answered" %}</ em > {% endif %}</ dd >
120
120
{% endfor %}
121
121
</ dl >
You can’t perform that action at this time.
0 commit comments