X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/721dd9c27d299455b9159457a095716f797389f1..3b329ff9f9d799b2d3e4fe8a0030bd30aa08adef:/app/views/diary_entry/edit.rhtml 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 %> |