-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathquestion.pstpl
14 lines (14 loc) · 930 Bytes
/
question.pstpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<div {QUESTION_ESSENTIALS} class="question-wrapper {QUESTION_CLASS}{QUESTION_MAN_CLASS}{QUESTION_INPUT_ERROR_CLASS}{if(!is_empty(QUESTION_MANDATORY)," required","")}"{if(!is_empty(QUESTION_CODE)," data-code='"+QUESTION_CODE+"' ","")}>
<div class="question-text">
{if(!is_empty(QUESTION_MANDATORY),"<span class='asterisk'>"+QUESTION_MANDATORY+"</span>","")}
{if(!is_empty(QUESTION_NUMBER) or !is_empty(QUESTION_CODE),"<span class='qnumcode'>"+QUESTION_NUMBER+" "+QUESTION_CODE+"</span>","")}
{QUESTION_TEXT}
</div>
<div class="help-wrapper">
{if(!is_empty(QUESTION_MAN_MESSAGE),"<div class='mandatory error'>"+QUESTION_MAN_MESSAGE+"</div>","")}
{QUESTION_VALID_MESSAGE}
{if(!is_empty(QUESTION_HELP),"<div class='tip help'>"+QUESTION_HELP+"</div>","")}
</div>
<div class="answers-wrapper clearfix">{ANSWER}</div>
{if(!is_empty(QUESTIONHELP),"<div class='question-help clearfix'>"+QUESTIONHELP+"</div>","")}
</div>