Skip to content

Commit

Permalink
Dev: replaced {QUESTION_CODE} by twig logic
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Jan 16, 2017
1 parent 5e8f480 commit a975207
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions templates/default/views/question.twig
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@
</span>
{% endif %}

<span class='text-muted question-code'>{QUESTION_CODE}</span>
<div class="question-text">{QUESTION_TEXT}</div>
{% if (aShow.question_code) %}
<span class='text-muted question-code'>
{{ aSurveyInfo.aQuestion.code }}
</span>
{% endif %}

<div class="question-text">{QUESTION_TEXT}</div>
</div>

<!-- LimeSurvey valid message and help -->
Expand Down

0 comments on commit a975207

Please sign in to comment.