From a87eaa04dcfbcfbef7302c423ac9abad543fdc62 Mon Sep 17 00:00:00 2001 From: Andrea Manuel Date: Thu, 12 Oct 2023 21:41:26 -0600 Subject: [PATCH] Change type input --- app/views/recipe_foods/edit.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/recipe_foods/edit.html.erb b/app/views/recipe_foods/edit.html.erb index 4d4cbaf..d016427 100644 --- a/app/views/recipe_foods/edit.html.erb +++ b/app/views/recipe_foods/edit.html.erb @@ -7,7 +7,7 @@
<%= f.label :quantity, 'Quantity:' %> - <%= f.number_field :quantity %> + <%= f.text_field :quantity, type: 'number', step: '0.1' %>
<%= f.submit "Modify", class: 'btn btn-success btn-lg fs-4' %>