diff --git a/app/org_eleicoes/votepeloclima/candidature/forms.py b/app/org_eleicoes/votepeloclima/candidature/forms.py index 93a0dbc9..f3f8b733 100644 --- a/app/org_eleicoes/votepeloclima/candidature/forms.py +++ b/app/org_eleicoes/votepeloclima/candidature/forms.py @@ -464,7 +464,12 @@ class TrackForm(EntangledModelFormMixin, DisabledMixin, forms.ModelForm): education = forms.ChoiceField( label="Escolaridade", required=False, choices=Education.choices ) - employment = forms.CharField(label="Ocupação", required=False) + employment = forms.CharField( + label="Ocupação", + required=False, + help_text="Até 150 caracteres.", + max_length=150 + ) short_description = forms.CharField( label="Minibio", widget=forms.Textarea(attrs={"placeholder": "Escreva uma breve biografia"}), diff --git a/app/org_eleicoes/votepeloclima/candidature/models.py b/app/org_eleicoes/votepeloclima/candidature/models.py index f23e2bc6..58c1d654 100644 --- a/app/org_eleicoes/votepeloclima/candidature/models.py +++ b/app/org_eleicoes/votepeloclima/candidature/models.py @@ -31,8 +31,8 @@ class Candidature(models.Model): color = models.CharField(max_length=30, verbose_name="Raça") sexuality = models.CharField(max_length=30, null=True, blank=True, choices=Sexuality.choices, verbose_name="Sexualidade") social_media = models.JSONField(blank=True, null=True, default=list, verbose_name="Redes Sociais") - education = models.CharField(max_length=50, null=True, blank=True, choices=Education.choices, verbose_name="Educação") - employment = models.CharField(max_length=50, null=True, blank=True, verbose_name="Ocupação") + education = models.CharField(max_length=80, null=True, blank=True, choices=Education.choices, verbose_name="Educação") + employment = models.CharField(max_length=150, null=True, blank=True, verbose_name="Ocupação") short_description = models.TextField(verbose_name="Descrição Curta") milestones = models.JSONField(blank=True, null=True, default=list, verbose_name="Marcos") proposes = models.JSONField(blank=True, verbose_name="Propostas")