Add wide variant of simple answers

This commit is contained in:
Charlotte Van Petegem 2025-05-25 11:25:49 +02:00
parent b3c1013cac
commit de061c2bec
Signed by: chvp
SSH key fingerprint: SHA256:s9rb8jBVfdahqWHuBAcHCBP1wmj4eYQXZfqgz4H3E9E
3 changed files with 19 additions and 0 deletions

View file

@ -1,4 +1,5 @@
<input id="<%= "question_answer_#{question.id}" %>"
class="<%= "simple-answer-wide" if question.data&.fetch("wide") %>"
type="text"
value="<%= question.answer&.data || '' %>"
autocomplete="off"