|
|
@ -6,6 +6,6 @@ |
|
|
|
caption: caption && !page_header.present? ? { text: caption.html_safe, size: "l" } : nil, |
|
|
|
caption: caption && !page_header.present? ? { text: caption.html_safe, size: "l" } : nil, |
|
|
|
label: { text: question.header, size: !page_header.present? ? "l" : "m", tag: !page_header.present? ? "h1" : "h2" }, |
|
|
|
label: { text: question.header, size: !page_header.present? ? "l" : "m", tag: !page_header.present? ? "h1" : "h2" }, |
|
|
|
hint: { text: question.hint_text&.html_safe }, |
|
|
|
hint: { text: question.hint_text&.html_safe }, |
|
|
|
options: { disabled: [""] }, |
|
|
|
options: { disabled: [""], selected: [@case_log.public_send(question.id) || ""] }, |
|
|
|
"data-controller": "accessible-autocomplete" |
|
|
|
"data-controller": "accessible-autocomplete" |
|
|
|
%> |
|
|
|
%> |
|
|
|