summaryrefslogtreecommitdiff
path: root/views/details.haml
diff options
context:
space:
mode:
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