X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/36a3dfe7cd64ffea5f5e8ded9dc1e8ae84c2a06a..753c179085b37635897121605dda867acc19a4a5:/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 7073aa740..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') %>