From b6ae16bc83e4c9f41b17266646917cc0c380d8a4 Mon Sep 17 00:00:00 2001 From: Nick Black Date: Tue, 1 May 2007 13:24:44 +0000 Subject: [PATCH 1/1] geocoder stuff - views --- app/views/geocoder/_geocoder.rhtml | 0 app/views/geocoder/results.rhtml | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 app/views/geocoder/_geocoder.rhtml create mode 100644 app/views/geocoder/results.rhtml diff --git a/app/views/geocoder/_geocoder.rhtml b/app/views/geocoder/_geocoder.rhtml new file mode 100644 index 000000000..e69de29bb diff --git a/app/views/geocoder/results.rhtml b/app/views/geocoder/results.rhtml new file mode 100644 index 000000000..3d7ee9060 --- /dev/null +++ b/app/views/geocoder/results.rhtml @@ -0,0 +1,29 @@ +

Your Search Results for <%= @place_name.capitalize %>

+ + + + + + + +<% @res_ary.each do |hsh| %> + + + + + + + +<% end %> + +
NameCountry + +
+<%= hsh['name'] %> + +<%= hsh['countryname'] %> + +<%= link_to('Map', url="/index.html?lat=#{hsh['lat']}&lon=#{hsh['lon']}&zoom=12") %> + +<%= link_to('API', url="/#FIXME") %> +
-- 2.43.2