X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4ea63afd24ba8ddf8af5af7e28134347f27e2009..888a0be7902750d9af2e5fb87812f9c8a40cf1b7:/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 %>
-