blob: 028b5b16130958b7b4a3c2bd2c47beddbd850035 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
%link{ :href=>"/stylesheets/screen.css", :media=>"screen, projection", :rel=>"stylesheet", :type=>"text/css"}
.content
.details
%h2
Details:
%img{:src=>"#{@compound_uri.uri}/image", :alt=>@compound_uri.uri, :width=>"100px"}
%p
SMILES:
= @compound_uri.smiles
%p
// TODO handle OpenTox::ResourceNotFoundError
Names:
= @compound_uri.names
%p
= @compound_uri.inchi.gsub("InChI=", "InChI: ")
|