src/iconolab/templates/registration/login.html
changeset 237 d710b051cdc5
parent 192 f4d3b15ec163
child 298 97b805fc88f0
equal deleted inserted replaced
236:903298c0349d 237:d710b051cdc5
     1 {% extends "iconolab_base.html" %}
     1 {% extends "iconolab_base.html" %}
     2 
     2 
     3 {% block content %}
     3 {% block content %}
     4 
     4 
     5 {% if form.errors %}
     5 {% if form.errors %}
     6 <p>Your username and password didn't match. Please try again.</p>
     6 <p>Combinaison identifiant/mot de passe incorrecte. Veuillez réessayer.</p>
     7 {% endif %}
       
     8 
       
     9 {% if next %}
       
    10     {% if user.is_authenticated %}
       
    11     <p>Your account doesn't have access to this page. To proceed,
       
    12     please login with an account that has access.</p>
       
    13     {% else %}
       
    14     <p>Please login to see this page.</p>
       
    15     {% endif %}
       
    16 {% endif %}
     7 {% endif %}
    17 
     8 
    18 <div class='col-md-6 center centerer'>
     9 <div class='col-md-6 center centerer'>
    19     <h3>Se connecter</h3>
    10     <h3>Se connecter</h3>
    20     <form class="form" action="{% url 'account:login' %}" method="POST">
    11     <form class="form" action="{% url 'account:login' %}" method="POST">