96
rated 0 times
[
98]
[
2]
/ answers: 1 / hits: 16634
/ 10 Years ago, sun, january 25, 2015, 12:00:00
Could someone show me how to set the size of number_field
in rails? I tried this but it doesn't work:
<%= f.number_field :status, size: 10, ...
but this works:
<%= f.text_field :name, size: 10, ...
Thanks
More From » ruby-on-rails