From 6a9b97b30ddaf9656eea8aaf3aacbbb0ac8c588b Mon Sep 17 00:00:00 2001 From: rhymes Date: Wed, 13 Mar 2019 20:34:37 +0100 Subject: [PATCH] Use numerical input for tags points (#2057) --- app/views/dashboards/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/dashboards/show.html.erb b/app/views/dashboards/show.html.erb index e21d08da1..a47c34775 100644 --- a/app/views/dashboards/show.html.erb +++ b/app/views/dashboards/show.html.erb @@ -58,7 +58,7 @@ <%= form_for(follow) do |f| %> <%= f.label(:points, "Follow Weight:") %> - <%= f.text_field(:points) %> + <%= f.number_field(:points, step: :any) %> <%= f.submit "Submit" %> <% end %>