X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/832b96b75ac05177e6baad7b414066ccfd7cfa51..3b43e4d53a736680bb41a14401244f3445d0c274:/app/views/diary_entry/view.html.erb?ds=sidebyside
diff --git a/app/views/diary_entry/view.html.erb b/app/views/diary_entry/view.html.erb
index 1a8096d13..1bce441b4 100644
--- a/app/views/diary_entry/view.html.erb
+++ b/app/views/diary_entry/view.html.erb
@@ -1,4 +1,4 @@
-<%= user_image @entry.user, :style => "float: right" %>
+<%= user_image @entry.user %>
<%= link_to t('diary_entry.view.user_title', :user => h(@entry.user.display_name)), :action => :list %>
@@ -8,19 +8,19 @@
<%= render :partial => 'diary_comment', :collection => @entry.visible_comments %>
-<% if_logged_in(:div) do %>
+<%= if_logged_in(:div) do %>
<%= error_messages_for 'diary_comment' %>
- <% form_for :diary_comment, @diary_comment, :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') %>
<% end %>
<% end %>
-<% if_not_logged_in(:div) do %>
-
+<%= if_not_logged_in(:div) do %>
+
<% end %>