Created
August 27, 2024 10:46
-
-
Save Liano-HyperionDev/8fdb4d14f27b583fb2695f220491037e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% load static %} | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"/> | |
<h1> Login as User </h1> | |
<body> | |
<button><a href="{% url 'user_auth:register' %}"> Register Here</a></button> | |
<form action="{% url 'user_auth:authenticate_user' %}" method="post"> | |
{% csrf_token %} | |
<label>Username</label> | |
<input type="text" name="username" placeholder="User"> | |
<br/><br/> | |
<label>Password</label> | |
<input type="password" name="password"> | |
<br/><br/> | |
<button type="submit" name="login">Login</button> | |
<br><br> | |
<button ty="submit" name="register">Register</button> | |
</form> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment