diff options
author | mr <mr@mrautenberg.de> | 2011-05-23 13:38:25 +0200 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-05-23 13:38:25 +0200 |
commit | 1b38f31db88255d90947ad5b4d2b088988ce8bbd (patch) | |
tree | b9e710986fd7e9cf00636c5a46a4fdfd4a99c037 /views/predict.haml | |
parent | 6f161255e47a2198624ae1bc7149b45a07a32bc9 (diff) | |
parent | cfa443a8e93bd6f0e574c7c96f4cb0895a17c6f4 (diff) |
Merge branch 'release/2.0.0'v2.0.0
Diffstat (limited to 'views/predict.haml')
-rw-r--r-- | views/predict.haml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/views/predict.haml b/views/predict.haml index d8c34a2..ec667e6 100644 --- a/views/predict.haml +++ b/views/predict.haml @@ -18,18 +18,25 @@ %param{ :name => "options", :value => "polarnitro"} Please enable Java and JavaScript in your browser to use the JME editor. + %jme_info + <span style="font-size:75%">© + %a{:href => 'http://www.molinspiration.com/jme/index.html', :rel => "external"} JME Editor + courtesy of Peter Ertl, Novartis</span> + %br %label{:for => 'identifier'} or enter a Name, InChI, Smiles, CAS, ... %input{:type => 'text', :name => 'identifier', :id => 'identifier', :size => '60'} + %br %fieldset %legend Choose one or more prediction models + %br - @models.each do |model| + %input{:type => 'checkbox', :name => "selection[#{model.id}]", :value => true, :id => "model#{model.id}", :disabled => false} %label{:for => "model#{model.id}"} = model.name - -#%input{:type => 'checkbox', :name => "selection[#{model.id}]", :value => true, :id => model.id, :disabled => !is_authorized(model.uri, "GET")} - %input{:type => 'checkbox', :name => "selection[#{model.id}]", :value => true, :id => "model#{model.id}", :disabled => false} + -#%input{:type => 'checkbox', :name => "selection[#{model.id}]", :value => true, :id => model.id, :disabled => !is_authorized(model.uri, "GET")} %br - + %br %input{:type => 'hidden', :name => 'subjectid', :id => 'subjectid', :value => session[:subjectid]} %input{ :type => "submit", :value => "Predict", :onclick => "getsmiles();"} = link_to 'Cancel', '/predict' |