X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/791062569dfca01a405637fa9ba142c222d3310c..bf31791f65fee149b660c1395d59204309f906fa:/app/views/diary_entry/edit.rhtml diff --git a/app/views/diary_entry/edit.rhtml b/app/views/diary_entry/edit.rhtml index 87f5e9fac..a69f4fd9c 100644 --- a/app/views/diary_entry/edit.rhtml +++ b/app/views/diary_entry/edit.rhtml @@ -5,24 +5,28 @@ <% form_for :diary_entry do |f| %> - + - + - + - - + +
SubjectSubject: <%= f.text_field :title, :size => 60 %>
BodyBody: <%= f.text_area :body, :cols => 80 %>
LocationLocation: Latitude: <%= f.text_field :latitude, :size => 20, :id => "latitude" %> Longitude: <%= f.text_field :longitude, :size => 20, :id => "longitude" %> use map +

<%= submit_tag 'Save' %> + <%= submit_tag 'Save' %> + <%# TODO: button should say 'publish' or 'save changes' depending on new/edit state %> +
<% end %>