<!-- templates/home.html -->
{% extends '_base.html' %}
{% load crispy_forms_tags %}
{% block title %}Home{% endblock title %}
{% block body_id %} id="loginPage"{% endblock %}
{% block container %}
{% if user.is_authenticated %}
<h1>Home</h1>
<p>Welcome to CDR-Reports</p>
<!-- add display dashboard template -->
{% else %}
<div id="loginBox" class="">
{% include "_logo.html" %}
<h2>Sign in to your account</h2>
<form method="post" action="/accounts/login/">
{% csrf_token %}
{{ form|crispy }}
<button class="btn btn-primary" type="submit">Log In</button>
<p style="margin-left: 5px;"><a href="{% url 'account_reset_password' %}">forgot password?</a></p>
</form>
</div>
{% if not theme_carrier %}
<p id="copy">CDR-Reports © 2016–2023 Advanced Network Group LLC</p>
{% endif %}
{% endif %}
{% endblock container %}