Skip to content

Commit

Permalink
Revert unneeded changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschuppi81 committed Aug 6, 2024
1 parent c6cfbdc commit abebbc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/onegov/translator_directory/forms/mutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def ensure_has_content(self) -> bool:

social_sec_number = StringField(
label=_('Swiss social security number'),
validators=[ValidSwissSocialSecurityNumber(), Optional()],
validators=[ValidSwissSocialSecurityNumber()],
fieldset=_('Proposed changes'),
)

Expand Down
2 changes: 1 addition & 1 deletion src/onegov/translator_directory/forms/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ class TranslatorForm(Form, FormChoicesMixin, DrivingDistanceMixin):

agency_references = TextAreaField(
label=_('Agency references'),
validators=[Optional()],
validators=[InputRequired()],
render_kw={'rows': 3}
)

Expand Down

0 comments on commit abebbc9

Please sign in to comment.