X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/544353a8d93aa1ed1f82faea51ce50b090f91f14..3b329ff9f9d799b2d3e4fe8a0030bd30aa08adef:/app/views/diary_entry/edit.rhtml diff --git a/app/views/diary_entry/edit.rhtml b/app/views/diary_entry/edit.rhtml index 615d4b69b..553367756 100644 --- a/app/views/diary_entry/edit.rhtml +++ b/app/views/diary_entry/edit.rhtml @@ -5,30 +5,30 @@ <% form_for :diary_entry do |f| %>
Subject: | +<%= t 'diary_entry.edit.subject' -%> | <%= f.text_field :title, :size => 60 %> | |
Body: | +<%= t 'diary_entry.edit.body' -%> | <%= f.text_area :body, :cols => 80 %> | |
Language: | -<%= f.collection_select :language, Language.find(:all), :code, :name %> | +<%= t 'diary_entry.edit.language' -%> | +<%= f.collection_select :language_code, Language.find(:all, :order => :english_name), :code, :name %> |
Location: | +<%= 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 %> |