django-multipage-template-f.../app/app_template/templates/pages/login.html

8 lines
297 B
HTML
Raw Normal View History

2022-04-19 21:14:01 +02:00
<h1>Login</h1>
2022-04-19 22:56:42 +02:00
<form id="login-form" data-controller="login">
2022-04-19 21:14:01 +02:00
{% if user_does_not_exist %}
<h2>The user does not exist or the password is wrong.</h2>
{% endif %}
{{ form.as_p }}
2022-04-19 22:56:42 +02:00
<input type="submit" class="button" value="Login" data-action="click->login#sendFormLogin">
2022-04-19 21:14:01 +02:00
</form>