<% content_for :heading do %>
- <div id="userinformation" class="row">
+ <div class="row">
<div class="col-sm-auto">
- <%= user_image @user, :class => "user_image_no_margins" %>
+ <%= user_image @user %>
</div>
<div class="col">
<h1><%= @user.display_name %> <%= role_icons(@user) %></h1>
<%= link_to t(".my comments"), diary_comments_path(current_user) %>
</li>
<li>
- <%= link_to t(".my settings"), user_account_path(current_user) %>
+ <%= link_to t(".my settings"), edit_account_path %>
</li>
<% if current_user.blocks.exists? %>
<small>
<dl class="dl-inline">
<dt><%= t ".mapper since" %></dt>
- <dd><%= l @user.creation_time.to_date, :format => :long %></dd>
+ <dd><%= l @user.created_at.to_date, :format => :long %></dd>
<% unless @user.terms_agreed %>
<dt><%= t ".ct status" %></dt>
<dd>