summaryrefslogtreecommitdiff
path: root/views/details.haml
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2013-03-28 17:19:06 +0100
committergebele <gebele@in-silico.ch>2013-03-28 17:19:06 +0100
commiteea0ab2649d998249dc2ea3bba3ecbdd2b3b8a5b (patch)
tree23b951be401decf3d44360a217b957f16846205e /views/details.haml
parentde03020a09cdc6438d27916207cab1de554a70f2 (diff)
colored by result
Diffstat (limited to 'views/details.haml')
-rw-r--r--views/details.haml18
1 files changed, 10 insertions, 8 deletions
diff --git a/views/details.haml b/views/details.haml
index 38d97fe..48d28bc 100644
--- a/views/details.haml
+++ b/views/details.haml
@@ -5,14 +5,16 @@
%h2
Details:
%img{:src=>"#{@compound_uri.uri}/image", :alt=>@compound_uri.uri, :width=>"100px"}
- %p
+ %br
+ %b
SMILES:
- = @smiles
-
- %p
+ %p= @smiles
+ %br
+ %b
// TODO handle OpenTox::ResourceNotFoundError
Names:
- = @names
-
- %p
- = @inchi
+ %p= @names
+ %br
+ %b
+ InChI:
+ %p= @inchi