mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
ikiwiki: Add help text about name restriction
This commit is contained in:
2 files changed
+5
-2
No files matched your search
@@ -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'))
|
||||
|
||||
|
||||
Reference in new issue
Block a user