decidim-surveys/app/views/decidim/surveys/admin/surveys/_question.html.erb in decidim-0.6.4 vs decidim-surveys/app/views/decidim/surveys/admin/surveys/_question.html.erb in decidim-0.6.5
- old
+ new
@@ -20,10 +20,11 @@
<%=
translated_field_tag(
:text_field_tag,
"survey[questions][]",
"body",
- question.body,
+ question.body.with_indifferent_access,
+ object: question,
tabs_id: tabs_id_for_question(question),
label: t('.statement'),
disabled: disabled_for_question(survey, question),
enable_tabs: question.persisted?
)