diff --git a/app/views/event/questions/event_question_ahv_number/_fields.html.haml b/app/views/event/questions/event_question_ahv_number/_fields.html.haml new file mode 100644 index 0000000..3845bc4 --- /dev/null +++ b/app/views/event/questions/event_question_ahv_number/_fields.html.haml @@ -0,0 +1,8 @@ +- question = f.object +- if question.derived? + = f.labeled(:question) do + = f.hidden_field(:question) + %p.py-2= question.question + +- else + = f.labeled_input_field(:question)