X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c8ee1351049ef1bb4d7b50d071b2a96154266d1d..3b329ff9f9d799b2d3e4fe8a0030bd30aa08adef:/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 a69f4fd9c..553367756 100644 --- a/app/views/diary_entry/edit.rhtml +++ b/app/views/diary_entry/edit.rhtml @@ -5,26 +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 %> |
Location: | +<%= t 'diary_entry.edit.language' -%> | +<%= f.collection_select :language_code, Language.find(:all, :order => :english_name), :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 %> |