Sha256: bad8f098c169f517a76860c0570547064303c4c6ee742b7b36860bde62628e12
Contents?: true
Size: 639 Bytes
Versions: 6
Compression:
Stored size: 639 Bytes
Contents
<!-- this code makes it possible to call this part of the view from either an ajax call or a reference from the survey_sections.html.erb --> <% if local_assigns[:f] -%> <%= render_questions_and_groups_helper q, s -%> <% else -%> <%= simple_fields_for 'surveyform', @question.survey_section.survey do |sf| %> <%= sf.simple_fields_for :survey_sections do |ss| %> <% end %> <%= sf.simple_fields_for :survey_sections, @question.survey_section do |ss| %> <%= ss.simple_fields_for :questions, @question do |q| %> <%= render_questions_and_groups_helper q, ss -%> <% end %> <% end %> <% end %> <% end -%>
Version data entries
6 entries across 6 versions & 2 rubygems