X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/169aac77d87744b72f43dd6bf8c806fd9aba0b48..8dbaf76e7cbdaa3aa0c6a9ac8d1fb886c1fe9fcd:/app/views/diary_entry/new.rhtml?ds=sidebyside diff --git a/app/views/diary_entry/new.rhtml b/app/views/diary_entry/new.rhtml index c0ddaef23..0a5203a66 100644 --- a/app/views/diary_entry/new.rhtml +++ b/app/views/diary_entry/new.rhtml @@ -1,6 +1,6 @@ <%= error_messages_for 'diary_entry' %> -<% form_for :controller => 'diary_entry', :action => 'new' do |f| %> +<% form_for :diary_entry do |f| %>
Subject | @@ -10,9 +10,70 @@Body | <%= 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 + | +|
<%= submit_tag 'Save' %> |