- <% form_for :diary_comment, @diary_comment, :url => { :action => 'comment' } do |f| %>
- <%= f.text_area :body, :cols => 80, :rows => 5 %>
- <br />
- <br />
- <%= submit_tag t('diary_entry.view.save_button') %>
- <% end %>
+ <%= form_for :diary_comment, :url => { :action => 'comment' } do |f| %>
+ <%= richtext_area :diary_comment, :body, :cols => 80, :rows => 15 %>
+ <br />
+ <br />
+ <%= submit_tag t('diary_entry.view.save_button') %>