tabletop-companion/app/views/users/show.html.erb

15 lines
327 B
Plaintext

<%= content_for :title, @user.username %>
<h2><%= @user.username %></h2>
<aside>
<% if @user == Current.user %>
<%= link_to t(".edit_profile"), edit_user_path(@user) %>
<% if @table_invites.any? %>
<%= link_to t(".your_invites"), table_invites_path %>
<% end %>
<% end %>
</aside>
<%= @user.profile %>