diff options
author | Christoph Helma <helma@in-silico.de> | 2010-02-16 18:59:13 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.de> | 2010-02-16 18:59:13 +0100 |
commit | 13abba6497199238464fa5d7f94931c65de37ba9 (patch) | |
tree | 83748c66825f6a26c111fd6d658fbe38349b9155 /views/create.haml | |
parent | 1d8326830fb38e24df2d8f11d8df2f5ad6b5aea8 (diff) |
improved error handling of input structures
Diffstat (limited to 'views/create.haml')
-rw-r--r-- | views/create.haml | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/views/create.haml b/views/create.haml index 1193499..448526f 100644 --- a/views/create.haml +++ b/views/create.haml @@ -1,19 +1,26 @@ .input + + %p + This service creates + %a{:href => 'http://lazar.in-silico.de'} lazar + prediction models (more model building algorithms will follow) from your uploaded datasets. Here are + = link_to "instructions", '/csv_format' + , how to create training datasets in Excel. + %form{ :action => url_for('/upload'), :method => "post", :enctype => "multipart/form-data" } %fieldset %legend Upload training data and create a %a{:href => 'http://lazar.in-silico.de'} lazar model - %label{:for => 'endpoint'} 1. Enter endpoint name: + %label{:for => 'endpoint'} 1. Enter a name for your endpoint: %input{:type => 'text', :name => 'endpoint', :id => 'endpoint'} - %em (please use only letters, numbers and spaces - this will be fixed soon) %br - %label{:for => 'file'} 2. Select training data in CSV format: + %label{:for => 'file'} + 2. Upload training data in + = link_to "CSV", '/csv_format' + format: %input{:type => 'file', :name => 'file', :id => 'file'} - ( - = link_to "formatting instructions ", 'csv_format' - ) %input{ :type => "submit", :value => "Create model"} = link_to "Cancel", 'create' |