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

from .models import SiemensUser


class SiemensUserCreationForm(UserCreationForm):

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


class SiemensUserChangeForm(UserChangeForm):

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