from django import forms
from django.contrib.auth.forms import UserCreationForm, UserChangeForm

from .models import ReyMotaUser


class ReyMotaUserCreationForm(UserCreationForm):

    class Meta:
        model = ReyMotaUser
        fields = ("email", "nombre", "foto")
        labels = {'email': 'Dirección de correo'}


class ReyMotaUserChangeForm(UserChangeForm):

    class Meta:
        model = ReyMotaUser
        fields = ("email", "foto")
