X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0e7127832037902f83cd15db2d413c23576eade7..3b329ff9f9d799b2d3e4fe8a0030bd30aa08adef:/app/views/diary_entry/edit.rhtml diff --git a/app/views/diary_entry/edit.rhtml b/app/views/diary_entry/edit.rhtml index 6657d033a..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.select :language, Language.find(:all).map {|l| [l.name, l.code]} %> | +<%= 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 %> |