Allow floats in weight field
For some reason the Rails default is integer only?!
This commit is contained in:
parent
4107aa61d4
commit
c2b2017d6c
|
@ -23,7 +23,7 @@
|
|||
<%= f.number_field :sleep_quality_level %>
|
||||
|
||||
<%= f.label :weight %>
|
||||
<%= f.number_field :weight %>
|
||||
<%= f.number_field :weight, step: 0.1 %>
|
||||
|
||||
<%= f.label :notes %>
|
||||
<%= f.text_area :notes %>
|
||||
|
|
Loading…
Reference in New Issue