Commit d59a2cec authored by Chenu Denis's avatar Chenu Denis

[fix] Real difference between submitted error and js error

parent d892ee06
......@@ -357,10 +357,9 @@ table > tbody > tr > td.ddprefix {
margin-bottom: 0.8em;
}
/* Asterix */
.no-js .input-error .asterisk {
font-size: 1.2em;
margin-top:-0.2em;
/* Submitted error */
.submitted-error .ls-em-tip,.submitted-error .ls-question-mandatory {
font-weight: bold;
}
#outerframeContainer {
......
......@@ -45,7 +45,7 @@
{% set questioncolor = 'text-'~questioncolor %}
{% endif %}
<!-- Question {{ aQuestion.qid }} -->
<{{ tagSection }} {{ aQuestion.attributes }} class="{{ questioncontainerclass }} {{ aQuestion.class }} {{ aQuestion.input_error_class }} {{ aSurveyInfo.class.questioncontainer }}" {{ aSurveyInfo.attr.questioncontainer }}>
<{{ tagSection }} {{ aQuestion.attributes }} class="{{ questioncontainerclass }} {{ aQuestion.class }} {% if aQuestion.input_error_class %}submitted-error{% endif %} {{ aSurveyInfo.class.questioncontainer }}" {{ aSurveyInfo.attr.questioncontainer }}>
{{ include('./subviews/survey/question.twig') }}
</{{ tagSection }}>
<!-- End of question {{ aQuestion.qid }} -->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment