X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4ea63afd24ba8ddf8af5af7e28134347f27e2009..7c5d0fff3d8aab23b17e32aa65f1f9e0beb95d3c:/app/views/diary_entry/view.html.erb
diff --git a/app/views/diary_entry/view.html.erb b/app/views/diary_entry/view.html.erb
index f0360d223..1bce441b4 100644
--- a/app/views/diary_entry/view.html.erb
+++ b/app/views/diary_entry/view.html.erb
@@ -13,8 +13,8 @@
<%= error_messages_for 'diary_comment' %>
- <%= form_for DiaryComment.new, :url => { :action => 'comment' } do |f| %>
- <%= f.text_area :body, :cols => 80, :rows => 5 %>
+ <%= form_for :diary_comment, :url => { :action => 'comment' } do |f| %>
+ <%= richtext_area :diary_comment, :body, :cols => 80, :rows => 15 %>
<%= submit_tag t('diary_entry.view.save_button') %>
@@ -22,5 +22,5 @@
<% end %>
<%= if_not_logged_in(:div) do %>
-