generated from 2martens/django-template
Initial commit
This commit is contained in:
17
app/templates/registration/login.html
Normal file
17
app/templates/registration/login.html
Normal file
@ -0,0 +1,17 @@
|
||||
{% extends "app/base.html" %}
|
||||
{% load i18n %}
|
||||
{% load crispy_forms_tags %}
|
||||
|
||||
{% block title %}{{ site.title }} - {{ title }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ title }}</h1>
|
||||
|
||||
<form method="post" action="{% url "login" %}">
|
||||
{% csrf_token %}
|
||||
{{ form|crispy }}
|
||||
<input type="hidden" name="next" value="{{ next }}" />
|
||||
<button type="submit" class="btn btn-primary">{% trans "Login" %}</button>
|
||||
<a href="{% url "password_reset" %}">{% trans "Forgot password?" %}</a>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user