From 510dba44ad5343d2cd42b8b7fd697bebefc827e7 Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Fri, 6 Mar 2015 17:38:49 +0100 Subject: [PATCH] Allow any step for svg properties --- app/views/admin/svg_elements/_form.html.slim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/admin/svg_elements/_form.html.slim b/app/views/admin/svg_elements/_form.html.slim index e1a575f8..2101a234 100644 --- a/app/views/admin/svg_elements/_form.html.slim +++ b/app/views/admin/svg_elements/_form.html.slim @@ -10,15 +10,15 @@ .form-field= f.check_box :active = f.row :dpm .small-3.columns= f.label :dpm - .small-3.columns= f.number_field :dpm + .small-3.columns= f.number_field :dpm, step: :any .small-6.columns.attribute-info= f.error_message :dpm = f.row :box_width .small-3.columns= f.label :box_width - .small-3.columns= f.number_field :box_width + .small-3.columns= f.number_field :box_width, step: :any .small-6.columns.attribute-info = f.row :box_height .small-3.columns= f.label :box_height - .small-3.columns= f.number_field :box_height + .small-3.columns= f.number_field :box_height, step: :any .small-6.columns.attribute-info = f.row :svg .form-label= f.label :svg