Hello,

How do I disable html5 with simple_form gem?

I tried to type:

SimpleForm.html5 = false

in environment.rb

But this throws error.

undefined method `html5=' for SimpleForm:Module (NoMethodError)

Even though I see...

module SimpleForm
...
  mattr_accessor :html5
  @@html5 = true
...
end


Any explanation on this? How I can disable it in any other ways?

Thanks.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to