diff options
Diffstat (limited to 'views/details.haml')
-rw-r--r-- | views/details.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/details.haml b/views/details.haml index 448e8a8..38d97fe 100644 --- a/views/details.haml +++ b/views/details.haml @@ -7,12 +7,12 @@ %img{:src=>"#{@compound_uri.uri}/image", :alt=>@compound_uri.uri, :width=>"100px"} %p SMILES: - = @compound_uri.smiles if @compound_uri.smiles + = @smiles %p // TODO handle OpenTox::ResourceNotFoundError Names: - = @compound_uri.names if @compound_uri.names + = @names %p - = @compound_uri.inchi.gsub("InChI=", "InChI: ") if @compound_uri.inchi + = @inchi |