summaryrefslogtreecommitdiff
path: root/views/select.haml
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2012-12-11 17:56:02 +0100
committerChristoph Helma <helma@in-silico.ch>2012-12-11 17:56:02 +0100
commit9aa2330f4225bffb2afe7128cf47c24f46ad54b0 (patch)
treea80dce931369b927444c287727f15a449eb92e46 /views/select.haml
parent610aaaf543fbc06ed3173011750b48001dc5003c (diff)
caching version without external proxy
Diffstat (limited to 'views/select.haml')
-rw-r--r--views/select.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/select.haml b/views/select.haml
index d6e3d20..1dd8cf4 100644
--- a/views/select.haml
+++ b/views/select.haml
@@ -2,7 +2,7 @@
More than one compound found for
= "\"#{params[:name]}\"."
Please select a structure:
-- @compounds.each do |compound|
- %a{:href => "/cid/#{compound.cid}"}
- %img{:src => compound.image_uri }
+- @cids.each do |cid|
+ %a{:href => "/cid/#{cid}"}
+ %img{:src => image_uri(cid)}