blob: 9c0a0c21745f1a29ed6f8d6f7f308b87c2a7fe28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
%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: ")
|