Sha256: a7266f9be2bb24f04ad463d982edc658279be6e36bd73109427d6cf306968b21

Contents?: true

Size: 705 Bytes

Versions: 6

Compression:

Stored size: 705 Bytes

Contents

%tr{:style => "font-weight:bold;"}
  %td  
  %td  
  %td 
  - question_group.columns.each do |column|
    %td
      = column.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_group.columns.each do |column|
        %td
          -if (response = Response.where(response_set_id: @response_set.id, question_id: question.id, column_id: column.id).first)
            = response.answer.text
/ 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_dropdown.html.haml
upgrade_surveyor_gui-0.1.2 app/views/surveyor_gui/responses/_grid_dropdown.html.haml
surveyor_gui-0.1.2 app/views/surveyor_gui/responses/_grid_dropdown.html.haml
surveyor_gui-0.1.1 app/views/surveyor_gui/responses/_grid_dropdown.html.haml
surveyor_gui-0.1.0 app/views/surveyor_gui/responses/_grid_dropdown.html.haml
surveyor_gui-0.0.3 app/views/surveyor_gui/responses/_grid_dropdown.html.haml