Bozenski
Monday, 30 September 2013
Simple form input type
Simple form input type
I am using simple-form gem to render my forms. I am trying to set the
input field type to 'number'. This code is not working:
f.input :amount, input_html: { type: 'number' }
What is the proper way to set this up?
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment