mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
ikiwiki: Add help text about name restriction
This commit is contained in:
parent
68046b638b
commit
758234de7b
@ -43,6 +43,7 @@ All notable changes to this project will be documented in this file.
|
||||
requiring root permission.
|
||||
- xmpp: Replace jwchat with jsxc. Bump module version number so
|
||||
current installs can be updated.
|
||||
- ikiwiki: Allow only alphanumerics in wiki/blog name.
|
||||
|
||||
### Removed
|
||||
- Remove width management for forms.
|
||||
|
||||
@ -30,8 +30,10 @@ class IkiwikiCreateForm(forms.Form):
|
||||
label=_('Type'),
|
||||
choices=[('wiki', 'Wiki'), ('blog', 'Blog')])
|
||||
|
||||
name = forms.CharField(label=_('Name'),
|
||||
validators=[RegexValidator(regex='^[a-zA-Z0-9]+$')])
|
||||
name = forms.CharField(
|
||||
label=_('Name'),
|
||||
help_text=_('Only alphanumeric characters are allowed.'),
|
||||
validators=[RegexValidator(regex='^[a-zA-Z0-9]+$')])
|
||||
|
||||
admin_name = forms.CharField(label=_('Admin Account Name'))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user