Skip to content

Commit aecc5cb

Browse files
committed
Allow election modules to override ballot question label
1 parent ff773b4 commit aecc5cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helios/templates/election_poll_questions.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{% endif %}
2525
{% endif %}
2626
{% for q in poll.questions_data %}
27-
<h5>{{ q.question|linebreaksbr }}
27+
<h5>{% if module.override_question_title %}{{ module.override_question_title }}{% else %}{{ q.question|linebreaksbr }}{% endif %}
2828
{% if q.question_subtitle %}<br /><br />({{ q.question_subtitle }})<br />{% endif %}</h5>
2929
{% if q.min_answers %}
3030
{% trans "Min answers" %} : {{q.min_answers}}<br>

0 commit comments

Comments
 (0)