X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7de4cb19b8cbaa123f9d47ac4ba9f37e25e5724c..97cb1fd7fa2916974538fde2a6ea311a3f793989:/app/views/diary_entry/new.rhtml
diff --git a/app/views/diary_entry/new.rhtml b/app/views/diary_entry/new.rhtml
index e6da08ae2..6c40eaeb5 100644
--- a/app/views/diary_entry/new.rhtml
+++ b/app/views/diary_entry/new.rhtml
@@ -11,10 +11,13 @@
<%= f.text_area :body, :cols => 80 %> |
- Location |
-
- Latitude: <%= f.text_field :latitude, :size => 20, :id => "latitude" %> Longitude: <%= f.text_field :longitude, :size => 20, :id => "longitude" %> use map |
-
+ Location |
+
+
+ Latitude: <%= f.text_field :latitude, :size => 20, :id => "latitude" %> Longitude: <%= f.text_field :longitude, :size => 20, :id => "longitude" %>
+ use map
+ |
+
|
<%= submit_tag 'Save' %> |
@@ -32,20 +35,21 @@
<% zoom = '12' %>
<% end %>
-
+<%= javascript_include_tag '/openlayers/OpenLayers.js' %>
+<%= javascript_include_tag '/openlayers/OpenStreetMap.js' %>
<%= javascript_include_tag 'map.js' %>