{% extends "iconolab_base.html" %}

{% block content %}

{% if form.errors %}
<p>Your username and password didn't match. Please try again.</p>
{% endif %}

<div class='col-md-12 text-center'>
    <h2>Votre compte a été créé! <small>Bienvenue sur Iconolab</small></h2><br>
    <ul class="list-inline">
      <li>
        <a class="btn btn-default" href="{% url 'user_home' user.id %}">
          <span class="glyphicon glyphicon-user" aria-hidden="true"></span>  
          Ma page de profil
        </a>
      </li>
      <li><a class="btn btn-default" href="{% url 'home' %}">
          <span class="glyphicon glyphicon-home" aria-hidden="true"></span>  
          Page d'accueil d'Iconolab
        </a></li>
    </ul>
</div>

{% endblock %}