<%= link_to t(:account_edit), edit_account_path, :class => 'btn btn-primary btn-sm' %>

<%= t(:userid) %> <%= @user.login %>
<%= t(:email) %> <%= @user.email %>
<%= t(:time_zone) %> <%= @user.time_zone %>
<%= t(:api_key) %> <%= @user.api_key %>
<%= button_to t(:api_key_new), user_new_api_key_path, :data => { :confirm => t(:confirm_new_user_api_key) }, :class => 'btn btn-primary btn-sm' %>


<%= link_to t(:profile_edit), edit_profile_path, :class => 'btn btn-primary btn-sm' %>

<%= link_to t(:profile_view), user_profile_path(@user.login) %>

<% if @user.public_flag %>
<%= t(:profile_website) %> <%= @user.website %>
<%= t(:profile_bio) %> <%= @user.bio %>
<% else %> <%= t(:profile_not_public_me) %> <% end %>