Reputation: 341
I don't think I understand why Rails 3 claims to offer html5 form helpers, but stops only at new input types. Are there plans (or any current way) to allow for additional features, such as the "required" attribute, etc?
Upvotes: 0
Views: 227
Reputation: 146
You can set required
text_field_tag 'text', 'text', :required => true
Also Rails added support of html5 audio and video with "audio_tag" and "video_tag"
Upvotes: 1
Reputation: 15129
I believe all the features your are talking about are currently out of the Rasil's scope, actually being provided by gems like formtastic
and simple_form
.
Upvotes: 0