From 74cb0936c20142b17ebf1e96b33d0bbf9d568dd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20H=C3=A4usele?= Date: Mon, 5 Oct 2020 22:06:51 +0200 Subject: [PATCH] Use number_field for Field::Number (#1063) Fixes #1021 --- app/views/fields/number/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/fields/number/_form.html.erb b/app/views/fields/number/_form.html.erb index 2295bfa845..352493c099 100644 --- a/app/views/fields/number/_form.html.erb +++ b/app/views/fields/number/_form.html.erb @@ -19,5 +19,5 @@ By default, the input is a text field. <%= f.label field.attribute %>
- <%= f.text_field field.attribute %> + <%= f.number_field field.attribute, step: "any" %>