Sha256: 245febb8335f22f6bff82caf88147261433ac2bedb64cce077152f15226cab5f

Contents?: true

Size: 695 Bytes

Versions: 6

Compression:

Stored size: 695 Bytes

Contents

%tr{:style => "font-weight:bold;"}
  %td  
  %td  
  %td  
  - question_group.questions.first.answers.each do |answer|
    %td
      = answer.text
- question_group.questions.is_not_comment.each_with_index do |question, index|
  %tr{class: index==0 ? "first_row" : nil}
    %td  
    %td  
    %td
      = question.text
    - question.answers.each do |answer|
      %td
        - if Response.where(response_set_id: @response_set.id, question_id: question.id, answer_id: answer.id).count > 0 
          .ui-icon.ui-icon-check 
/ retrieve comments, if any
= render "surveyor_gui/shared/grid_comments", question_group: question_group
= render "surveyor_gui/shared/new_line"

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
upgrade_surveyor_gui-0.1.3 app/views/surveyor_gui/responses/_grid.html.haml
upgrade_surveyor_gui-0.1.2 app/views/surveyor_gui/responses/_grid.html.haml
surveyor_gui-0.1.2 app/views/surveyor_gui/responses/_grid.html.haml
surveyor_gui-0.1.1 app/views/surveyor_gui/responses/_grid.html.haml
surveyor_gui-0.1.0 app/views/surveyor_gui/responses/_grid.html.haml
surveyor_gui-0.0.3 app/views/surveyor_gui/responses/_grid.html.haml