X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7fc00c9314b6d774616ec9bb298f7a4dd2c63b8d..613b748c5556139bdd04b6cda2f5ebf448e20aa2:/app/views/diary_entries/_form.html.erb?ds=inline diff --git a/app/views/diary_entries/_form.html.erb b/app/views/diary_entries/_form.html.erb index 0d8f7ef5b..9585b09eb 100644 --- a/app/views/diary_entries/_form.html.erb +++ b/app/views/diary_entries/_form.html.erb @@ -1,22 +1,22 @@
-
+
<%= f.text_field :title, :class => "richtext_title" %>
-
+
<%= richtext_area :diary_entry, :body, :cols => 80, :rows => 20, :format => @diary_entry.body_format %>
-
+
<%= f.collection_select :language_code, Language.order(:english_name), :code, :name %>
- <%= content_tag "div", "", :id => "map", :data => { :lat => @lat, :lon => @lon, :zoom => @zoom } %> -
+ <%= tag.div "", :id => "map", :data => { :lat => @lat, :lon => @lon, :zoom => @zoom } %> +
<%= f.text_field :latitude, :size => 20, :id => "latitude" %>