<%= t '.title' %>

<%= t '.headers.details' %>
  • <%= User.human_attribute_name(:username) %>: <%= current_user.username %>
  • <%= User.human_attribute_name(:fullname) %>: <%= current_user.fullname %>
  • <%= User.human_attribute_name(:email) %>: <%= current_user.email %>
  • <% unless current_user.department.nil? %>
  • <%= User.human_attribute_name(:department) %>: <%= current_user.department %>
  • <% end %>
<%= t '.headers.activity' %>
    <% unless current_user.last_sign_in_at.nil? %>
  • <%= User.human_attribute_name(:last_sign_in_at) %>: <%= l current_user.last_sign_in_at, format: :short %>
  • <% end %> <% unless current_user.last_sign_in_ip.nil? %>
  • <%= User.human_attribute_name(:last_sign_in_ip) %>: <%= current_user.last_sign_in_ip%>
  • <% end %>
<%= link_to self_edit_users_path, class: 'btn btn-primary mt-4' do %> <%= icon :far, :edit, t('.edit') %> <% end %>