Skip to content

Commit

Permalink
Merge pull request #87 from hitobito/feature/hitobito_youth#58
Browse files Browse the repository at this point in the history
fix: refactor question fields to reflect sti (hitobito_youth#58)
  • Loading branch information
diegosteiner authored Sep 30, 2024
2 parents 540d8c7 + 8c49c4d commit 9833f7f
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 9833f7f

Please sign in to comment.