Form_for not passing html attributes

Hello,

I am trying to disable chrome HTML5 validations by setting the
novalidate attribute.

form_for(:customer, url: {:action => ‘update’, :id => @customer.id,
:account_settings => true},:html => {:novalidate => ‘novalidate’}) do
|f|
= render(:partial => ‘form’, :locals => {:f => f})

But when the form renders in chrome it does not show up.

And the validations stop me from submitting the form.
Thank you,

Mendel.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs