update django-cotton to 1.2.1

This commit is contained in:
2024-10-16 17:49:55 +02:00
parent 993abb4710
commit 2ae81bb00f
15 changed files with 646 additions and 761 deletions

View File

@ -1,22 +1,18 @@
{% extends "base.html" %}
<c-layouts.base title="Login">
{% load static %}
{% block title %}
Login
{% endblock title %}
{% block content %}
<div class="flex items-center flex-col">
<h2 class="text-3xl text-white mb-8">Please log in to continue</h2>
<form method="post">
<table>
{% csrf_token %}
{{ form.as_table }}
<tr>
<td></td>
<td>
<input type="submit" value="Login" />
</td>
</tr>
</form>
</table>
</div>
{% endblock content %}
<div class="flex items-center flex-col">
<h2 class="text-3xl text-white mb-8">Please log in to continue</h2>
<form method="post">
<table>
{% csrf_token %}
{{ form.as_table }}
<tr>
<td></td>
<td>
<input type="submit" value="Login" />
</td>
</tr>
</form>
</table>
</div>
</c-layouts.base>