diff options
author | root <root@ot-dev.in-silico.ch> | 2011-03-16 13:52:50 +0000 |
---|---|---|
committer | root <root@ot-dev.in-silico.ch> | 2011-03-16 13:52:50 +0000 |
commit | 95d6920fada55f7afd7a5c815e0d02a9dc83968b (patch) | |
tree | 70844307559a81959eaaad976b2191ea858c74b1 /views/predict.haml | |
parent | d2f80eb88b75e2c45ff5d59ca42ed5fc065cefd7 (diff) | |
parent | e61474c10be3f31c20ff53b83c687f3899325ed0 (diff) |
Merge branch 'hotfix/v1.0.2'v1.0.2
Diffstat (limited to 'views/predict.haml')
-rw-r--r-- | views/predict.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/predict.haml b/views/predict.haml index 347592c..d8c34a2 100644 --- a/views/predict.haml +++ b/views/predict.haml @@ -16,7 +16,7 @@ .jme %applet{:code => "JME.class", :name => "JME", :archive => "JME.jar", :width => "500", :height => "360"} %param{ :name => "options", :value => "polarnitro"} - Please enable Java and JavaScript in your browser to use the JME editor. + Please enable Java and JavaScript in your browser to use the JME editor. %label{:for => 'identifier'} or enter a Name, InChI, Smiles, CAS, ... %input{:type => 'text', :name => 'identifier', :id => 'identifier', :size => '60'} @@ -24,10 +24,10 @@ %legend Choose one or more prediction models - @models.each do |model| - %label{:for => model.id} + %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.id, :disabled => false} + %input{:type => 'checkbox', :name => "selection[#{model.id}]", :value => true, :id => "model#{model.id}", :disabled => false} %br %input{:type => 'hidden', :name => 'subjectid', :id => 'subjectid', :value => session[:subjectid]} |