I have a rails helper text field from devise that uses html and atomatically validates the type=\"email\"
field. I want to add the attribute novalidate=\'
Just do:
<%= f.email_field :login, :novalidate => 'novalidate' %>
UPDATE -- If you want to add an attribute to the FORM tag, the syntax is slightly different:
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:novalidate => 'novalidate'}) do |f| %>
RICH EDITOR - such as the stack over flow will be better for you.
Tinymce is a great rich editor.
check out this website: http://richonrails.com/articles/adding-tinymce-to-your-rails-application
When you follow the instructions make sure you do the following also.
Hope this helps answer your questions