aboutsummaryrefslogblamecommitdiffstats
path: root/ctrack/templates/account/login.html
blob: c9e292e4f683a9850279c0d760147f740d08bd57 (plain) (tree)
1
2
3
4
5
6
7
8

                                 

                            
                                           


                 

















                                                                                                                            


              
{% extends "account/base.html" %}

{% load crispy_forms_tags %}

{% block head_title %}Sign In{% endblock %}

{% block inner %}

    <div class="container">
        <div class="col-md-12 my-3 p-3 border border-primary rounded">
            <div class="row">
                    <div class="col-md-12">
                        <h2>Log in</h2>
                        <form class="login" method="POST" action="{% url 'account_login' %}">
                            {% csrf_token %}
                            {{ form|crispy }}
                            {% if redirect_field_value %}
                                <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
                            {% endif %}
                            <a class="button secondaryAction" href="{% url 'account_reset_password' %}">Forgot Password?</a>
                            <button class="primaryAction btn btn-primary" id="sign_in_button" type="submit">Sign In</button>
                        </form>
                    </div>
            </div>
        </div>
    </div>

{% endblock %}