% if @survey_sections_len>0 %> <%= javascript_include_tag "lib/jquery.tmpl.min.js" %> <%= form_for @survey, :url => {:action => "save_pagination_setting"}, :html => {:class => "form-horizontal main-forms", :id => 'pagination_form',data: {"min-section" => @min_section,"max-section" => @max_section}} do |f| %>
<% end %> <% else %>