21 lines
732 B
HTML
21 lines
732 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Вход — ERP WaterSurf{% endblock %}
|
|
{% block content %}
|
|
<div class="ws-card ws-login-card">
|
|
<h1 class="ws-login-title">Вход</h1>
|
|
<form method="post" action="{% url 'users:login' %}" class="ws-form-login">
|
|
{% csrf_token %}
|
|
{% for field in form %}
|
|
<div class="ws-form-group">
|
|
<label for="{{ field.id_for_label }}">{{ field.label }}</label>
|
|
{{ field }}
|
|
{% if field.errors %}<small class="ws-text-danger">{{ field.errors.0 }}</small>{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
<div class="ws-btn-group" style="margin-top: 1.5rem;">
|
|
<button type="submit" class="btn btn-ws-primary">Войти</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|