summaryrefslogtreecommitdiff
path: root/views/select.haml
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2012-11-21 10:09:48 +0100
committerChristoph Helma <helma@in-silico.ch>2012-11-21 10:09:48 +0100
commitc38f9f2e4c2dec4ef163c6c76d64f5dbf4974a5a (patch)
tree4f4b71056b1e8728720fb2a5f6886dc2dfe634cd /views/select.haml
parent9661a67983ffc93ee02bc12b20b9afb38e199d79 (diff)
Initial GUI
Diffstat (limited to 'views/select.haml')
-rw-r--r--views/select.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/views/select.haml b/views/select.haml
new file mode 100644
index 0000000..d6e3d20
--- /dev/null
+++ b/views/select.haml
@@ -0,0 +1,8 @@
+%p
+ 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 }
+