added new parent page + minor css/js improvements

This commit is contained in:
2025-02-02 21:48:12 +01:00
parent 6ff3f05272
commit 8b0b56cb7b
14 changed files with 205 additions and 29 deletions

16
templates/add.html Normal file
View File

@ -0,0 +1,16 @@
{% extends "base.html" %}
{% load static %}
{% block title %}New {{ class }}{% endblock %}
{% block head %}
<link rel="stylesheet" href="{% static "form.css" %}">
{% endblock %}
{% block main %}
<div class="container">
<h2>New {{ class }}</h2>
<form action="" method="POST">
{% csrf_token %}
{{ form }}
<button type="submit">Create</button>
</form>
</div>
{% endblock %}