Sha256: d7c70a37c57070761f9006a305492897f99618e4ea78804da2d552e5c7d05104

Contents?: true

Size: 817 Bytes

Versions: 2

Compression:

Stored size: 817 Bytes

Contents

#surveyor
  - unless (types = flash.keys.select{|k| ['notice', 'error', 'warning'].include?(k)}).blank?
    .surveyor_flash
      = flash_messages(types)
      .close
  = semantic_form_for(@response_set, :as => :r, :url => surveyor.update_my_survey_path, :html => {:method => :put, :id => "survey_form", :class => @survey.custom_class}) do |f|

    = hidden_field_tag :surveyor_javascript_enabled, false

    = render 'partials/section_menu' # unless @sections.size < 3
    .survey_title= @survey.translation(I18n.locale)[:title]
    .previous_section= previous_section
    = render 'partials/dependents' unless @dependents.empty?
    = render "/partials/section", :f => f
    .next_section= next_section
  %br

:javascript
  $(document).ready(function() {
    $("input#surveyor_javascript_enabled").val(true);
  });

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
upgrade_surveyor_gui-0.1.3 app/views/surveyor/edit.html.haml
upgrade_surveyor_gui-0.1.2 app/views/surveyor/edit.html.haml