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