Skip to content

Commit

Permalink
Add more lines for blogs and rss feeds. Fixes: 1409
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Moura <[email protected]>
  • Loading branch information
phsmoura committed May 27, 2024
1 parent 3f8bc4d commit 726cd41
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions noggin/form/edit_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,20 @@ class UserSettingsProfileForm(BaseForm):
_('GitLab Username'), validators=[Optional()], filters=[strip_at]
)

website_url = URLField(
_('Website or Blog URL'),
validators=[Optional(), URL(message=_('Valid URL required'))],
website_url = FieldList(
URLField(
validators=[Optional(), URL(message=_('Valid URL required'))],
render_kw={"rows": 6},
),
label=_('Website or Blog URL'),
)

rss_url = URLField(
_('RSS URL'),
validators=[Optional(), URL(message=_('Valid URL required'))],
rss_url = FieldList(
URLField(
validators=[Optional(), URL(message=_('Valid URL required'))],
render_kw={"rows": 6},
),
label=_('RSS URL'),
)

is_private = BooleanField(
Expand Down

0 comments on commit 726cd41

Please sign in to comment.