diff options
Diffstat (limited to 'views/predict.haml')
-rw-r--r-- | views/predict.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/predict.haml b/views/predict.haml index 6b9bf95..6abd5bc 100644 --- a/views/predict.haml +++ b/views/predict.haml @@ -1,7 +1,7 @@ %div.well %form{:role=>"form", :action=> to("/predict"), :method=>"post"} %span.help-block - some help text to explain + Please characterise a Gold nanoparticle #input - size = @example.size - @example.each_with_index do |v,id| @@ -9,7 +9,7 @@ - key = v[0] - val = v[1] %div.form-group - %h3= key + %h5= key %input.form-control{:id=>id,:type=>"hidden",:name=>"input_key_#{id}",:value=>key} %input.form-control{:id=>id,:type=>"text",:name=>"input_value_#{id}",:value=>val} %input.form-control{:id=>"example",:type=>"hidden",:name=>"size",:value=>size} |