diff options
author | davor <vorgrimmlerdavid@gmx.de> | 2012-08-27 14:59:52 +0200 |
---|---|---|
committer | davor <vorgrimmlerdavid@gmx.de> | 2012-08-27 14:59:52 +0200 |
commit | f548a689fa80861d33f51634b4c45476bd80c0cc (patch) | |
tree | b420616f07bde9db9dbb119b8eaf570a3f7ce153 /views/lazar.haml | |
parent | 0f632c60773985d3fb8e713e1378daed73d21c3d (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.haml | 2 |
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 |