1 <div class="diary_entry standard-form">
3 <div class='standard-form-row'>
4 <label class="standard-label"><%= t ".subject" -%></label>
5 <%= f.text_field :title, :class => "richtext_title" %>
7 <div class='standard-form-row'>
8 <label class="standard-label"><%= t ".body" -%></label>
9 <%= richtext_area :diary_entry, :body, :cols => 80, :rows => 20, :format => @diary_entry.body_format %>
11 <div class='standard-form-row'>
12 <label class="standard-label"><%= t ".language" -%></label>
13 <%= f.collection_select :language_code, Language.order(:english_name), :code, :name %>
16 <fieldset class='location'>
17 <label class="standard-label"><%= t ".location" -%></label>
18 <%= tag.div "", :id => "map", :data => { :lat => @lat, :lon => @lon, :zoom => @zoom } %>
19 <div class='standard-form-row clearfix'>
20 <div class='form-column'>
21 <label class="secondary standard-label"><%= t ".latitude" -%></label>
22 <%= f.text_field :latitude, :size => 20, :id => "latitude" %>
24 <div class='form-column'>
25 <label class="secondary standard-label"><%= t ".longitude" -%></label>
26 <%= f.text_field :longitude, :size => 20, :id => "longitude" %>
28 <div class='form-column'>
29 <a href="#" id="usemap"><%= t ".use_map_link" -%></a>