edit FormContacto atributos de campos
This commit is contained in:
parent
f55d246102
commit
0f00ceeb56
@ -1,7 +1,6 @@
|
||||
from django import forms
|
||||
|
||||
class FormContacto(forms.Form):
|
||||
asunto = forms.CharField()
|
||||
email = forms.EmailField()
|
||||
msj = forms.CharField()
|
||||
|
||||
asunto = forms.CharField(max_length=35, required=False, initial='Contacto')
|
||||
email = forms.EmailField(max_length=35)
|
||||
msj = forms.CharField(widget=forms.Textarea(attrs={'rows': 5, 'cols': 26}))
|
Loading…
Reference in New Issue
Block a user