</tr>
<tr valign="top">
<td class="fieldName"><%= t 'diary_entry.edit.body' -%></td>
- <td><%= richtext_area :diary_entry, :body, :cols => 80 %></td>
+ <td><%= richtext_area :diary_entry, :body, :cols => 80, :format => @diary_entry.body_format %></td>
</tr>
<tr valign="top">
<td class="fieldName"><%= t 'diary_entry.edit.language' -%></td>
<!--
var marker;
- OpenLayers.Lang.setCode("<%= I18n.locale.to_s %>");
-
- function setLocation( e ) {
+ function setLocation( e ) {
closeMapPopup();
var lonlat = getEventPosition(e);