Allow floats in weight field

For some reason the Rails default is integer only?!
This commit is contained in:
Trevor Vallender 2024-01-03 08:11:43 +00:00
parent 4107aa61d4
commit c2b2017d6c
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
<%= f.number_field :sleep_quality_level %> <%= f.number_field :sleep_quality_level %>
<%= f.label :weight %> <%= f.label :weight %>
<%= f.number_field :weight %> <%= f.number_field :weight, step: 0.1 %>
<%= f.label :notes %> <%= f.label :notes %>
<%= f.text_area :notes %> <%= f.text_area :notes %>