summaryrefslogtreecommitdiff
path: root/views/prediction.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/prediction.haml')
-rw-r--r--views/prediction.haml9
1 files changed, 5 insertions, 4 deletions
diff --git a/views/prediction.haml b/views/prediction.haml
index ed51d09..dd90847 100644
--- a/views/prediction.haml
+++ b/views/prediction.haml
@@ -14,15 +14,16 @@
%tbody
%tr
%td{:id=>"compound"}
- %img{:src=>"#{@compound.uri}/image", :alt=>@compound.uri, :width=>"100px"}
+ %img{:src=>"#{@compound.uri}/image", :alt=>@compound.uri, :width=>"100"}
- count=0
- @@predictions.each do |pa|
- pa.each do |p|
- p.get
- %td
- %b= @@prediction_models[count].title
-
+ %td{:class => p.data_entries[0][1]}
+ %b{:class => "title"}
+ = @@prediction_models[count].title
%br
+ %br
= "Result:\n"
%b= p.data_entries[0][1]
%br