title: SimpleForm+ClientSideValidations+bootstrap - Validation is not occuring on the form- all inputs are accepted
body: <p>I am using the SimpleForm, ClientSideValidations, and ClientSideValidations-SimpleForm gems in a RoR application. I can render the form into the modal beautifully, however when the input loses focus no validation occurs and the form is submitted. Also note that I have tried using the fix found here:
  <a href="http://www.ddarrensmith.com/blog/2012/05/17/ruby-on-rails-client-side-validation-with-validation-helpers-and-twitter-bootstrap/" rel="noreferrer">http://www.ddarrensmith.com/blog/2012/05/17/ruby-on-rails-client-side-validation-with-validation-helpers-and-twitter-bootstrap/</a></p>
  
  <p>Segment of the view containing the form:</p>
  
  <pre><code>&lt;div class='modal hide' id='New_Discrep' tabindex="-1" role='dialog' aria-labelledby="#New_Discrep_Label" aria-hidden='true'&gt;
    &lt;div class="modal-header"&gt;
      &lt;button type='button' class='close' data-dismiss='modal' aria-    hidden='true'&gt;x&lt;/button&gt;
      &lt;h3 id="New_Discrep_Label"&gt;Create Discrepancy&lt;/h3&gt;
    &lt;/div&gt;
    &lt;%= simple_form_for @new_discrepancy, :validate =&gt; true, :url =&gt; {:controller=&gt; 'discrepancy', :action =&gt; 'create', :device_id =&gt; @device.id} do |f| %&gt;
    &lt;div class='modal-body'&gt;
      &lt;%= f.input :system, :wrapper =&gt; :prepend, :label =&gt; false do %&gt;
        &lt;%= content_tag :span, 'System', :class =&gt; 'add-on input-label' %&gt;
        &lt;%= f.input_field :system %&gt;
      &lt;% end %&gt;
      &lt;%= f.input :description, :wrapper =&gt; :prepend, :label =&gt; false do %&gt;
        &lt;%= content_tag :span, 'Description', :class =&gt; 'add-on input-label' %&gt;
        &lt;%= f.input_field :description, :class =&gt; 'textarea' %&gt;
      &lt;% end %&gt;
      &lt;%= f.input :conditions, :wrapper =&gt; :prepend, :label =&gt; false do %&gt;
        &lt;%= content_tag :span, 'Condiditions', :class =&gt; 'add-on input-label' %&gt;
        &lt;%= f.input_field :conditions, :class =&gt; 'textarea' %&gt;
      &lt;% end %&gt;
      &lt;%= f.input :dirf, :wrapper =&gt; :prepend, :label =&gt; false do %&gt;
        &lt;%= content_tag :span, 'Reference', :class =&gt; 'add-on input-label' %&gt;
        &lt;%= f.input_field :dirf %&gt;
      &lt;% end %&gt;
    &lt;/div&gt;
    &lt;div class='modal-footer'&gt;
      &lt;button type="button" class='btn', data-dismiss='modal', aria-hidden='true'&gt;Cancel&lt;/button&gt;
      &lt;%= f.button :submit, :class =&gt; 'btn-primary' %&gt;
    &lt;/div&gt;
    &lt;% end %&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>My Gemfile</p>
  
  <pre><code>gem 'rails', '3.2.1'
  gem 'jquery-rails'
  gem 'carrierwave'
  gem 'simple_form'
  gem 'client_side_validations'
  gem 'client_side_validations-simple_form'
  </code></pre>
  
  <p>Model</p>
  
  <pre><code>class Discrepancy &lt; ActiveRecord::Base
  STATUSES = ['Open', 'Closed', 'Rejected']
  
    belongs_to :device
    belongs_to :user
    has_many :parts
    has_many :updates
  
    validates :date_entered, :presence =&gt; true
    validates :status, :presence =&gt; true
    validates :description, :presence =&gt; true
    validates :system, :presence =&gt; true
    validate :close_date
  
    validates_inclusion_of :status, :in =&gt; STATUSES, 
      :message =&gt; "must be one of: #{STATUSES.join(', ')}"  
  
  end
  </code></pre>
  
  <p>application.js file</p>
  
  <pre><code>//= require jquery
  //= require jquery_ujs
  //= require rails.validations
  //= require rails.validations.simple_form
  //= require_tree .
  </code></pre>
  
  <p>I have also confirmed that the script tag is being produced in the html directly below the form.
  Thanks for the help!</p>