Sha256: 58074a761af5fdb525c691e5f5cbb026dfa258141f246634cbe3d138c172f5a4

Contents?: true

Size: 518 Bytes

Versions: 1

Compression:

Stored size: 518 Bytes

Contents

- @survey.sections.each do |section|
  .section{:id => section_id_helper(section)}
    .title= section.title
    - section.questions.each do |question|
      - unless question.part_of_group?
        = render(:partial => "/question_display_types/#{(!question.display_type.empty?)? question.display_type : "default"}", :locals => { :question => question, :response_obj => @response_set.responses.find_by_question_id(question.id) || @response_set.responses.build(:question_id => question.id)})
      - else
        Group

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
breakpointer-surveyor-0.2.0 app/views/surveying/show.html.haml