| 123456789101112131415161718 |
- <html>
- <title>MovieLib</title>
- <body>
- <h1>Your Movie list</h1>
- {% if form.errors %}
- <p>Your username and password didn't match. Please try again.</p>
- {% endif %}
- <h2>Login</h2>
- {{ user }}
- <form method="POST" action="{% url 'login' %}">
- <input name="username" id="input-identifier" placeholder="Enter your username or password" required />
- <input type="password" name="password" id="input-password" placeholder="Enter your password" required />
- <input type="submit" value="Register">
- {% csrf_token %}
- </form>
- </body>
- </html>
|