PageRenderTime 15ms CodeModel.GetById 8ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/modules/mod_survey/templates/_survey_question_shortanswer.tpl

https://code.google.com/p/zotonic/
Smarty Template | 3 lines | 3 code | 0 blank | 0 comment | 1 complexity | 6b73ab2a9b5e599a7e1d3d5610a0ac41 MD5 | raw file
1<p>{{ question.question|escape }}</p>
2<input id="{{ #short }}" name="{{ question.name }}" type="text" value="{{ answers[question.name]|escape }}" />
3{% if question.is_required %}{% validate id=#short name=question.name type={presence} %}{% endif %}