edit FormContacto atributos de campos

This commit is contained in:
jp.av.dev 2020-11-15 19:15:22 -03:00
parent f55d246102
commit 0f00ceeb56

View File

@ -1,7 +1,6 @@
from django import forms from django import forms
class FormContacto(forms.Form): class FormContacto(forms.Form):
asunto = forms.CharField() asunto = forms.CharField(max_length=35, required=False, initial='Contacto')
email = forms.EmailField() email = forms.EmailField(max_length=35)
msj = forms.CharField() msj = forms.CharField(widget=forms.Textarea(attrs={'rows': 5, 'cols': 26}))