X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3b6d2c5336eac35912909c9102c77bf6472901e6..8f8cbc4ae8c0b335a9f68c7749ad49a4a74e3e07:/app/views/diary_entry/edit.rhtml?ds=sidebyside diff --git a/app/views/diary_entry/edit.rhtml b/app/views/diary_entry/edit.rhtml index 0a5203a66..41b9c8b20 100644 --- a/app/views/diary_entry/edit.rhtml +++ b/app/views/diary_entry/edit.rhtml @@ -1,26 +1,36 @@ +
Subject | +<%= t 'diary_entry.edit.subject' -%> | <%= f.text_field :title, :size => 60 %> | |
---|---|---|---|
Body | +<%= t 'diary_entry.edit.body' -%> | <%= f.text_area :body, :cols => 80 %> | |
Location | +<%= t 'diary_entry.edit.language' -%> | +<%= f.collection_select :language, Language.find(:all), :code, :name %> | +|
<%= t 'diary_entry.edit.location' -%> |
- Latitude: <%= f.text_field :latitude, :size => 20, :id => "latitude" %> Longitude: <%= f.text_field :longitude, :size => 20, :id => "longitude" %>
- use map
+ <%= t 'diary_entry.edit.latitude' -%> <%= f.text_field :latitude, :size => 20, :id => "latitude" %> <%= t 'diary_entry.edit.longitude' -%> <%= f.text_field :longitude, :size => 20, :id => "longitude" %>
+ <%= t 'diary_entry.edit.use_map_link' -%>
+ |
||
- | <%= submit_tag 'Save' %> | ++ | + <%= submit_tag t('diary_entry.edit.save_button') %> + <%# TODO: button should say 'publish' or 'save changes' depending on new/edit state %> + |