Login HTML use Base HTML

This commit is contained in:
jvs
2025-01-24 16:42:53 +01:00
parent e906a7f6de
commit 0bfc19bbf9
2 changed files with 7 additions and 13 deletions

View File

@@ -1,14 +1,9 @@
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login</title>
<link rel="stylesheet" href="{% static 'accounts/css/login.css' %}">
</head>
<body>
{% extends 'accounts/base.html' %}
{% block title %}Login{% endblock %}
{% block stylesheet %}accounts/css/login.css{% endblock %}
{% block content %}
<div class="login-container">
<h2>Anmeldung</h2>
<form method="post">
{% csrf_token %}
<div class="input-group">
@@ -20,5 +15,4 @@
<button type="submit" class="login-button">LOG IN</button>
</form>
</div>
</body>
</html>
{% endblock %}

View File

@@ -1,5 +1,5 @@
{% extends 'accounts/base.html' %}
{% block title %}Registrierung{% endblock %}
{% block content %}
<h1>Register</h1>
<h2>Registrierung</h2>
{% endblock %}