summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-03-31 13:47:34 +0200
committerChristoph Helma <helma@in-silico.ch>2011-03-31 13:47:34 +0200
commitf57103720c82700f7e43d54707e9381668f0fb67 (patch)
tree2c235a1c87f01aed637389785403d4f233685198 /views
parentb379818883b17fb9883049b528b858925e48d486 (diff)
ambit endpint selection started
Diffstat (limited to 'views')
-rw-r--r--views/endpoints.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/views/endpoints.haml b/views/endpoints.haml
new file mode 100644
index 0000000..fc41190
--- /dev/null
+++ b/views/endpoints.haml
@@ -0,0 +1,10 @@
+%form{ :action => url_for('/endpoints'), :method => "get" }
+
+ - @endpoints.each do |endpoint,datasets|
+ %h2= endpoint.split('#').last + " " + datasets.size.to_s
+ - datasets.each do |dataset|
+ %br
+ %input{:type=>'radio', :name => "dataset", :value => dataset} #{dataset}
+
+ %p
+ %input{:type => 'submit'}