X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d9e070e06956801aba2378c1b79b4d9f13ae12ee..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| %>
Subject | +Subject: | <%= f.text_field :title, :size => 60 %> | |
---|---|---|---|
Body | +Body: | <%= f.text_area :body, :cols => 80 %> | |
Location | +Location: |
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 %> + |