<% content_for :heading do %>
- <div id="userinformation">
- <%= user_image @entry.user %>
- <h2><%= link_to t(".user_title", :user => @entry.user.display_name), :action => :index %></h2>
- <p><%= rss_link_to :action => :rss, :display_name => @entry.user.display_name %></p>
+ <div class="row">
+ <div class="col-sm-auto">
+ <%= user_image @entry.user %>
+ </div>
+ <div class="col">
+ <h1><%= link_to t(".user_title", :user => @entry.user.display_name), :action => :index %></h1>
+ <p><%= rss_link_to :action => :rss, :display_name => @entry.user.display_name %></p>
+ </div>
</div>
<% end %>
<% end %>
<% end %>
<% else %>
- <h3 id="newcomment"><%= t(".login_to_leave_a_comment_html", :login_link => link_to(t(".login"), :controller => "users", :action => "login", :referer => request.fullpath)) %></h3>
+ <h3 id="newcomment"><%= t(".login_to_leave_a_comment_html", :login_link => link_to(t(".login"), login_path(:referer => request.fullpath))) %></h3>
<% end %>
</div>