summaryrefslogtreecommitdiff
path: root/views/prediction.haml
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-05-18 16:20:58 +0200
committerChristoph Helma <helma@in-silico.ch>2010-05-18 16:20:58 +0200
commit7b1e97d83136c06d6901543eec7a06c5e62b4e46 (patch)
treead6d7cb8de6d53e23b20d2dc2742196d06faf891 /views/prediction.haml
parent30ae47779abc5240bf23e878d96ffa3fd0ae9a5e (diff)
layout adjusted
Diffstat (limited to 'views/prediction.haml')
-rw-r--r--views/prediction.haml4
1 files changed, 1 insertions, 3 deletions
diff --git a/views/prediction.haml b/views/prediction.haml
index 28bedd4..74832a2 100644
--- a/views/prediction.haml
+++ b/views/prediction.haml
@@ -34,9 +34,7 @@
%em= p[:prediction]
- if p[:confidence]
%br
- ( Confidence:
- = sprintf('%.03f', p[:confidence].to_f.abs)
- )
+ = "(Confidence: #{sprintf('%.03f', p[:confidence].to_f.abs)})"
%dl
%dt Confidence: