X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f5c9a41e8729ab9bfc54fff6be9c1a9b6e0f4d56..64ecd02f0b74d2251e30fc1c97fdf1aa60f53e90:/app/views/diary_entry/new.rhtml diff --git a/app/views/diary_entry/new.rhtml b/app/views/diary_entry/new.rhtml index 4e9482f3c..0a5203a66 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,21 +35,21 @@ <% zoom = '12' %> <% end %> - - +<%= javascript_include_tag '/openlayers/OpenLayers.js' %> +<%= javascript_include_tag '/openlayers/OpenStreetMap.js' %> <%= javascript_include_tag 'map.js' %>