Soc/app/views/users/show.html.erb

7 lines
169 B
Plaintext

<h2><%= @user.username %></h2>
<h4><%= @user.full_name %></h4>
<% if @user == current_user %>
<%= link_to t(".edit_user_details"), edit_user_path(@user) %>
<% end %>