carom-server/templates/registration/login.html

23 lines
763 B
HTML
Raw Normal View History

2018-02-10 13:44:14 +01:00
{% extends '_base_accounts.html' %}
2018-02-11 08:12:08 +01:00
{% load crispy_forms_tags %}
2018-02-10 13:44:14 +01:00
{% block title %}login{% endblock %}
{% block content %}
<div class="row justify-content-center">
<div class="col-lg-4 col-md-6 col-sm-8">
<div class="card">
<div class="card-body">
<h3 class="card-title">Log in</h3>
<form method="post" novalidate>
{% csrf_token %}
<input type="hidden" name="next" value="{{ next }}">
2018-02-11 08:12:08 +01:00
{{ form|crispy }}
2018-02-10 13:44:14 +01:00
<button type="submit" class="btn btn-primary btn-block">Log in</button>
</form>
</div>
</div>
</div>
</div>
{% endblock %}