Update day 16

Signed-off-by: Manuel Vergara <manuel@vergaracarmona.es>
This commit is contained in:
Manuel Vergara 2023-05-23 23:29:45 +02:00
parent c317b46db0
commit 4fb899f0a3

View File

@ -1,5 +1,20 @@
{% if request.user.is_authenticated %}
<p>
{{request.user}}
</p>
<a href="">Salir</a>
{% else %}
<a href="{% url 'login' %}">Iniciar sesión</a>
{% endif %}
<hr>
<h1>Lista de pendientes</h1> <h1>Lista de pendientes</h1>
<a href="{% url 'crear-tarea' %}">Crear nueva tarea</a> <a href="{% url 'crear-tarea' %}">Crear nueva tarea</a>
<table> <table>