X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/13289d404188bd397ee72852f66c415a2bb87066..13ef6a2df1b4d6a807beb6b107e07a62b78f906c:/app/views/diary_entry/edit.html.erb diff --git a/app/views/diary_entry/edit.html.erb b/app/views/diary_entry/edit.html.erb index f6273a828..6b4d9c177 100644 --- a/app/views/diary_entry/edit.html.erb +++ b/app/views/diary_entry/edit.html.erb @@ -10,7 +10,7 @@ <%= t 'diary_entry.edit.body' -%> - <%= f.text_area :body, :cols => 80 %> + <%= richtext_area :diary_entry, :body, :cols => 80, :format => @diary_entry.body_format %> <%= t 'diary_entry.edit.language' -%>