summaryrefslogtreecommitdiff
path: root/views/prediction.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/prediction.haml')
-rw-r--r--views/prediction.haml5
1 files changed, 2 insertions, 3 deletions
diff --git a/views/prediction.haml b/views/prediction.haml
index f694c4d..4181c22 100644
--- a/views/prediction.haml
+++ b/views/prediction.haml
@@ -16,7 +16,7 @@
%table.table.table-bordered{:id=>"overview"}
%tbody
%tr
- %td{:id=>"compound", :style=>"vertical-align:top;"}
+ %td{:id=>"compound", :style=>"vertical-align:top;text-align:center;"}
%a.btn.btn-link{:href => "#details0", data: { toggle: "modal", remote: to("/prediction/#{CGI.escape(@compound.id.to_s)}/details"), :id=>"link01"}}
= @compound.svg
%p= @compound.smiles
@@ -97,8 +97,7 @@
- if !prediction[:warnings].blank?
%b Warnings:
- prediction[:warnings].uniq.each do |warning|
- %br
- %p=warning.sub(/,/, ",<br>")
+ %p=warning #.sub(/,/, ",<br>")
/%p=warning.sub(/substances/, "substances<br>").sub(/prediction\:/, "prediction\:<br>")
- else
%br