Open voting booth description links in new tab
This commit is contained in:
parent
706fd132cd
commit
1bc558fc97
@ -19,7 +19,7 @@
|
|||||||
<h2>{{ questionNum + 1 }}. {{ election.questions.__getitem__(questionNum).prompt }}</h2>
|
<h2>{{ questionNum + 1 }}. {{ election.questions.__getitem__(questionNum).prompt }}</h2>
|
||||||
|
|
||||||
{% if election.questions.__getitem__(questionNum).description %}
|
{% if election.questions.__getitem__(questionNum).description %}
|
||||||
<p>{{ election.questions.__getitem__(questionNum).description | urlize | safe }}</p>
|
<p>{{ election.questions.__getitem__(questionNum).description | urlize | replace('<a ', '<a target="_blank" ') | safe }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<p><small>
|
<p><small>
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
<h2>{{ questionNum + 1 }}. {{ election.questions.__getitem__(questionNum).prompt }}</h2>
|
<h2>{{ questionNum + 1 }}. {{ election.questions.__getitem__(questionNum).prompt }}</h2>
|
||||||
|
|
||||||
{% if election.questions.__getitem__(questionNum).description %}
|
{% if election.questions.__getitem__(questionNum).description %}
|
||||||
<p>{{ election.questions.__getitem__(questionNum).description | urlize | safe }}</p>
|
<p>{{ election.questions.__getitem__(questionNum).description | urlize | replace('<a ', '<a target="_blank" ') | safe }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<p><small>
|
<p><small>
|
||||||
|
Loading…
Reference in New Issue
Block a user