From 8110fccc463ce0ff59b60a1ec990a31e440037f9 Mon Sep 17 00:00:00 2001
From: Celestino Rey
Date: Mon, 12 Aug 2024 15:11:16 +0200
Subject: [PATCH] Formulario de signup con estilo
---
Libros/biblioteca/gestion/forms.py | 3 +--
.../gestion/templates/registration/signup.html | 13 ++++++++++++-
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/Libros/biblioteca/gestion/forms.py b/Libros/biblioteca/gestion/forms.py
index d9a01cb..9092ba2 100644
--- a/Libros/biblioteca/gestion/forms.py
+++ b/Libros/biblioteca/gestion/forms.py
@@ -31,8 +31,7 @@ class ReyMotaUserCreationForm(UserCreationForm):
class Meta:
model = ReyMotaUser
- fields = ("email", "foto")
-
+ fields = ("email", "nombre", "foto")
class ReyMotaUserChangeForm(UserChangeForm):
diff --git a/Libros/biblioteca/gestion/templates/registration/signup.html b/Libros/biblioteca/gestion/templates/registration/signup.html
index 2267470..17a1873 100644
--- a/Libros/biblioteca/gestion/templates/registration/signup.html
+++ b/Libros/biblioteca/gestion/templates/registration/signup.html
@@ -13,7 +13,18 @@
+ {% endfor %}