summaryrefslogtreecommitdiff
path: root/views/lazar.haml
diff options
context:
space:
mode:
authordavor <vorgrimmlerdavid@gmx.de>2012-08-27 14:59:52 +0200
committerdavor <vorgrimmlerdavid@gmx.de>2012-08-27 14:59:52 +0200
commitf548a689fa80861d33f51634b4c45476bd80c0cc (patch)
treeb420616f07bde9db9dbb119b8eaf570a3f7ce153 /views/lazar.haml
parent0f632c60773985d3fb8e713e1378daed73d21c3d (diff)
Added tranformation in mg units for neighbors.nestle
Added transform function to helper.rb
Diffstat (limited to 'views/lazar.haml')
-rw-r--r--views/lazar.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/lazar.haml b/views/lazar.haml
index 8eab1a9..4a6b9d3 100644
--- a/views/lazar.haml
+++ b/views/lazar.haml
@@ -20,7 +20,7 @@
%tr
%td.image= compound_image(@compound,@prediction.descriptors(@compound),@value_map)
- %td= activity_markup(@prediction.value(@compound), @value_map)
+ %td= {activity_markup(@prediction.value(@compound), @value_map), transform(@prediction.value(@compound), @compound.uri, @prediction.title, true)}
%td= sprintf('%.03g', @prediction.confidence(@compound))
%td
%ul