Sha256: de87c6668307ec0d91dc3ec21fcba9649658c36059d5d2539fc7d1013d8011cf

Contents?: true

Size: 825 Bytes

Versions: 9

Compression:

Stored size: 825 Bytes

Contents

#surveyor
  - unless (types = flash.keys.select{|k| [:notice, :error, :warning].include?(k)}).blank?
    .surveyor_flash
      = flash_messages(types)
      .close
  - semantic_form_for(:r, @response_set, :url => update_my_survey_path, :html => {:method => :put, :id => "survey_form", :class => @survey.custom_class}) do |f|
    = render 'partials/section_menu' unless @sections.size < 3
    .survey_title= @survey.title
    .previous_section= previous_section
    = render 'partials/dependents' unless @dependents.empty?
    - if @response_set.no_responses_for_section?(@section) # cache if response_set has no responses for current section
      = cache("section_#{@section.id}"){ render "/partials/section", :f => f }
    - else # no cache
      = render "/partials/section", :f => f
    .next_section= next_section
  %br

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
surveyor-0.20.0 app/views/surveyor/edit.html.haml
surveyor-0.19.7 app/views/surveyor/edit.html.haml
surveyor-0.19.6 app/views/surveyor/edit.html.haml
surveyor-0.19.5 app/views/surveyor/edit.html.haml
surveyor-0.19.4 app/views/surveyor/edit.html.haml
surveyor-0.19.3 app/views/surveyor/edit.html.haml
surveyor-0.19.2 app/views/surveyor/edit.html.haml
surveyor-0.19.1 app/views/surveyor/edit.html.haml
surveyor-0.19.0 app/views/surveyor/edit.html.haml