{% extends '_base.html' %}
{% load helpers %}

{% block title %}User Profile{% endblock %}

{% block content %}
<div class="row">
    <div class="col-md-8 col-md-offset-2">
        <h1>User Profile</h1>
    </div>
</div>
<div class="row">
    <div class="col-md-2 col-md-offset-2">
        {% include 'users/inc/profile_nav.html' with active_tab="profile" %}
    </div>
	<div class="col-md-6">
        <small class="text-muted">User login</small>
        <h5>{{ request.user.username }}</h5>
        <small class="text-muted">Full name</small>
        <h5>{{ request.user.first_name }} {{ request.user.last_name }}</h5>
        <small class="text-muted">Email</small>
        <h5>{{ request.user.email }}</h5>
        <small class="text-muted">Registered</small>
        <h5>{{ request.user.date_joined }}</h5>
        <small class="text-muted">Groups</small>
        <h5>{{ request.user.groups.all|join:', ' }}</h5>
        <small class="text-muted">Admin access</small>
        <h5>{{ request.user.is_staff|yesno|capfirst }}</h5>
	</div>
</div>
{% endblock %}
