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