summaryrefslogtreecommitdiff
path: root/views/predict.haml
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2013-06-27 17:49:58 +0200
committergebele <gebele@in-silico.ch>2013-06-27 17:49:58 +0200
commit8f60b2a316de06cf3878b9fe4ef406bd47bf2ce1 (patch)
treed0ebc35cd0ca1024229e07223b41fb79c0752e32 /views/predict.haml
parentd530d85556380be317147ed75a18e44cd2fde729 (diff)
several changes for html validation
Diffstat (limited to 'views/predict.haml')
-rw-r--r--views/predict.haml20
1 files changed, 10 insertions, 10 deletions
diff --git a/views/predict.haml b/views/predict.haml
index af601b0..12c3f26 100644
--- a/views/predict.haml
+++ b/views/predict.haml
@@ -51,7 +51,7 @@
%input{:type => 'text', :name => 'identifier', :id => 'identifier', :size => '60'}
.arrow
- %img{:src=>"/images/arrow_down_float.png", :alt=>"arrow", :class=> "arrow"}
+ %img{:src=>"/images/arrow_down_float.png", :alt=>"v", :class=> "arrow"}
%fieldset#middle
%a{:href => "#models", :id => "linkModels"}
@@ -71,18 +71,18 @@
%b= "Carcinogenicity:"
- @models.each do |model|
#model
- %input{:type => "checkbox", :name => "selection[#{model.title}]", :id => "selection[#{model.title}]", :value => true, :disabled => false}
- %label{:for => "selection[#{model.title}]"}
- = "DSSTox Carcinogenic Potency DBS "+model.title.split(" ").first
- %a{:href=>"#", :alt=>"#{model.title} validation"}
+ - model_title = model.title.split(" ").first
+ %input{:type => "checkbox", :name => "selection[#{model_title}]", :id => "selection[#{model_title}]", :value => true, :disabled => false}
+ %label{:for => "selection[#{model_title}]"}
+ = "DSSTox Carcinogenic Potency DBS "+model_title
+ %a{:href=>"#", :title=>"#{model_title} validation"}
%i ( Validation report )
%br
.arrow
- %img{:src=>"/images/arrow_down_float.png", :alt=>"arrow", :class=> "arrow"}
+ %img{:src=>"/images/arrow_down_float.png", :alt=>"v", :class=> "arrow"}
%fieldset#bottom
- %a{:href => "#predict", :id => "linkPredict"}
- %label{:for => "submit"}
- %h1 3. Predict
- %input{ :type => "submit", :id => "submit", :value=>">>", :onclick => "getsmiles()"}
+ %h1
+ 3. Predict
+ %input{ :type => "submit", :id => "submit", :value=>">>", :onclick => "getsmiles()"}