<%= f.text_field :title %> <%= f.richtext_field :body, :cols => 80, :rows => 20, :format => @diary_entry.body_format %> <%= f.collection_select :language_code, Language.order(:english_name), :code, :name %>
<%= t ".location" -%> <%= tag.div "", :id => "map", :class => "border border-secondary-subtle rounded mb-3 z-0", :data => { :lat => @lat, :lon => @lon, :zoom => @zoom } %>
<%= f.text_field :latitude, :wrapper_class => "col-sm-4 d-flex flex-column", :class => "mt-auto", :id => "latitude" %> <%= f.text_field :longitude, :wrapper_class => "col-sm-4 d-flex flex-column", :class => "mt-auto", :id => "longitude" %>
<%= f.primary %>