summaryrefslogtreecommitdiff
path: root/views/create.haml
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-04-04 18:44:44 +0200
committerChristoph Helma <helma@in-silico.ch>2011-04-04 18:44:44 +0200
commit3430ce8d28846a405d403b2c4a03bcab5a11f9e6 (patch)
tree1ec12749584cdafee768264acaadb2de1e4c5ff7 /views/create.haml
parent29516a370a458915050eca3dca586b3ec3b6f877 (diff)
Selection of AMBIT datasets added
Diffstat (limited to 'views/create.haml')
-rw-r--r--views/create.haml10
1 files changed, 8 insertions, 2 deletions
diff --git a/views/create.haml b/views/create.haml
index 2149f3d..48669f4 100644
--- a/views/create.haml
+++ b/views/create.haml
@@ -17,18 +17,24 @@
= link_to "instructions for creating training datasets", '/help'
before submitting.
+
%form{ :action => url_for('/models'), :method => "post", :enctype => "multipart/form-data" }
%input{:type => 'hidden', :name => 'subjectid', :id => 'subjectid', :value => session[:subjectid]}
%fieldset
%label{:for => 'file'}
- Select training data in
+ Upload training data in
= link_to "Excel", '/help'
or
= link_to "CSV", '/help'
format:
%input{:type => 'file', :name => 'file', :id => 'file', :size => '41'}
%input{ :type => "submit", :value => "Create model"}
- = link_to "Cancel", '/create'
+ =# link_to "Cancel", '/create'
+
+ %p
+ or
+ %a{:href => "echa"} Select a AMBIT dataset
+ (experimental)
-# explanations
= haml :lazar_description, :layout => false