diff options
author | Christoph Helma <helma@in-silico.de> | 2010-01-09 18:59:26 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.de> | 2010-01-09 18:59:26 +0100 |
commit | 08103ef7fca40d0dd6c6813caea56eaf0e0af9ea (patch) | |
tree | 4712d4b477686faad522a2fe647b20c7c5cb097d /views/predict.haml | |
parent | 95b9cb55b313e003f0d20d26aa12e3a2282c529a (diff) |
first demonstration version for lazar
Diffstat (limited to 'views/predict.haml')
-rw-r--r-- | views/predict.haml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/views/predict.haml b/views/predict.haml new file mode 100644 index 0000000..c1d65bf --- /dev/null +++ b/views/predict.haml @@ -0,0 +1,20 @@ +%form{ :action => '/predict', :method => "post", :enctype => "multipart/form-data" } + %ol + %li + Enter a compound identifier (Name, InChI, Smiles, CAS, ...): + %p + %input{:type => 'text', :name => 'identifier'} + %li + Choose one or more prediction models: + %ul + - @models.each do |model| + %br + -# %input{:type => 'checkbox', :name => 'model_uri', :value => model} + %input{:type => 'checkbox', :name => "selection[#{model}]", :value => true} + = model + + %li + %p + %input{ :type => "submit", :value => "Predict"} + %a{:href => '/'} Cancel + |