blob: 448e8a89c75127e00df6b3d58a76422e21f43364 (
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 if @compound_uri.smiles
%p
// TODO handle OpenTox::ResourceNotFoundError
Names:
= @compound_uri.names if @compound_uri.names
%p
= @compound_uri.inchi.gsub("InChI=", "InChI: ") if @compound_uri.inchi
|