diff options
Diffstat (limited to 'views/compound_image.haml')
-rw-r--r-- | views/compound_image.haml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/views/compound_image.haml b/views/compound_image.haml new file mode 100644 index 0000000..18944dc --- /dev/null +++ b/views/compound_image.haml @@ -0,0 +1,2 @@ +%img{:src => compound.matching_smarts_image_uri(features[:activating].collect{|f| f[:smarts]},features[:deactivating].collect{|f| f[:smarts]}), :alt => compound.to_smiles} + |