Sha256: 4f4ddf1359097c7d25640efbcd067b56c74a9574cdcbb3af21d3fa52f2ee1605

Contents?: true

Size: 668 Bytes

Versions: 1

Compression:

Stored size: 668 Bytes

Contents

- reset_cycle("column_highlight")
%tr
  %td.question_prefix
    .question
      %span.text= question_text_prefix_helper(question.text)
      %span.help= question.help_text
      = hidden_field_tag("responses[#{question.id}][question_id]", question.id)
  - question.answers.each do |answer|
    %td{:class => "#{cycle("column_highlight", "", :name => "column_highlight")}"}
      .answer 
        = render(:partial => "/answer_display_types/grid_#{answer.partial_name}", :locals => {:answer => answer, :response_obj => response_set.response_for(question.id, answer.id)})
  %td.question_postfix
    .question
      %span.text= question_text_postfix_helper(question.text)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
breakpointer-surveyor-0.2.0 app/views/question_display_types/_grid_default.html.haml