mirror of
https://github.com/kristoferssolo/kristofersxyz.git
synced 2026-03-22 00:26:20 +00:00
Added "Register" form
This commit is contained in:
32
templates/main/validation.html
Normal file
32
templates/main/validation.html
Normal file
@@ -0,0 +1,32 @@
|
||||
{% extends "layout.html" %}
|
||||
{% load static %}
|
||||
{% block title %}{{ title }}{% endblock %}
|
||||
{% block meta %}
|
||||
<link rel="stylesheet"
|
||||
type="text/css"
|
||||
href="{% static 'main/css/validation.css' %}"/>
|
||||
<script src="{% static 'main/js/validation.js' %}" defer></script>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<form id="register-form" action="https://www.w3schools.com/action_page.php">
|
||||
<input type="text"
|
||||
id="username"
|
||||
name="username"
|
||||
placeholder="Username"
|
||||
class="btn">
|
||||
<br>
|
||||
<input type="password"
|
||||
id="password"
|
||||
name="password"
|
||||
placeholder="Password"
|
||||
class="btn">
|
||||
<br>
|
||||
<input type="password"
|
||||
id="confirm-password"
|
||||
name="confirm-password"
|
||||
placeholder="Repeat password"
|
||||
class="btn">
|
||||
<br>
|
||||
<div id="check-block"></div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user