diff options
Diffstat (limited to 'views/predict.haml')
-rw-r--r-- | views/predict.haml | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/views/predict.haml b/views/predict.haml deleted file mode 100644 index 7c4b980..0000000 --- a/views/predict.haml +++ /dev/null @@ -1,25 +0,0 @@ -.upload - - unless @models.nil? - %form{ :action => url_for('/predict'), :method => "post", :enctype => "multipart/form-data" } - %ol - %li - %label{:for => 'identifier'}Enter a compound identifier: - %input{:type => 'text', :name => 'identifier', :id => 'identifier'} - (Name, InChI, Smiles, CAS, ...) - %li - %label{:for => 'model'}Choose one or more prediction models: - %ul - - @models.each do |model| - - yaml = RestClient.get model, :accept => 'application/x-yaml' - - yaml = YAML.load yaml - %br - -# %input{:type => 'checkbox', :name => 'model_uri', :value => model} - -# %input{:type => 'checkbox', :name => "selection[#{model}]", :value => true} - %input{:type => 'checkbox', :name => "selection[#{model}]", :value => true, :id => 'model'} - = yaml[:endpoint].split(/#/).last - - %li - %p - %input{ :type => "submit", :value => "Predict"} - = link_to 'Cancel', '/' - |