mirror of
https://github.com/bodyrep/bodyrep-sandpit.git
synced 2026-02-08 21:21:39 +00:00
31 lines
724 B
HTML
31 lines
724 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
{% include 'navbar.html' %}
|
|
|
|
<h1>Login</h1>
|
|
|
|
{% if login_form.errors %}
|
|
{% for field, error in login_form.errors.items %}
|
|
{{ error|safe }}
|
|
{% endfor %}
|
|
{% endif %}
|
|
<form name='login' action="{% url dologin %}" method="post" id="login">
|
|
|
|
<div>
|
|
{{ login_form.username.label_tag }}
|
|
{{ login_form.username }}
|
|
</div>
|
|
|
|
<div>
|
|
{{ login_form.password.label_tag }}
|
|
{{ login_form.password }}
|
|
</div>
|
|
|
|
<input type="submit" class="btn btn-primary btn-mini" id='loginbtn' value="LOGIN" />
|
|
<input type="hidden" name="next" value="/m/profile" />
|
|
{% csrf_token %}
|
|
|
|
</form>
|
|
{% endblock %}
|