summaryrefslogtreecommitdiff
path: root/views/predict.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/predict.haml')
-rw-r--r--views/predict.haml6
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]}