I just started learning Rails 4.0.2. I was wondering if there is
anything(any gem?) which allows the support of html5 in rails .html.erb
pages..
So basically, lets say, If I create an email field in my .html.erb, It
would look like as :
<%= f.text_field :email %>
And in html5, you can simply use
<input type="email" ..>
which make sure that email format is correct..
My question is:
Is it possible to use <%= f.email ... %> in .html.erb pages using the
help of anything?
I hope I made my question clear. I won't mind writing more about it if
it is not clear..
--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e7201847d687a5737433b43bd0f7119c%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment