summaryrefslogtreecommitdiff
path: root/views/neighbors.haml
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2016-12-07 12:07:13 +0000
committergebele <gebele@in-silico.ch>2016-12-07 12:07:13 +0000
commit55bf06381a42c9bb1e1e991e990f5d6e90c8e33e (patch)
tree44044577e36e00485aa5d73531d9d56747e5b742 /views/neighbors.haml
parentb65956f3b250b4f10fe93b7d35924d21538cd6f5 (diff)
rebuild code for public release;prepared to work with lazar v1.0.0;reintroduced compound details
Diffstat (limited to 'views/neighbors.haml')
-rw-r--r--views/neighbors.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/neighbors.haml b/views/neighbors.haml
index 32b8389..a608c4d 100644
--- a/views/neighbors.haml
+++ b/views/neighbors.haml
@@ -81,8 +81,8 @@
/ Compound
- c = Compound.find(neighbor)
%td{:style =>"vertical-align:middle;padding-left:1em;width:50%;"}
- /%a.btn.btn-link{:href => "#details#{j+1}", data: { toggle: "modal", remote: to("/prediction/#{CGI.escape(neighbor["_id"])}/details"), :id=>"link#{j+1}#{count}"}}
- %p= c.svg
+ %a.btn.btn-link{:href => "#details#{j+1}", data: { toggle: "modal", remote: to("/prediction/#{CGI.escape(c.id.to_s)}/details"), :id=>"link#{j+1}#{count}"}}
+ = c.svg
%p= c.smiles
/ Measured Activity