This commit is contained in:
Takeus committed 2025-02-08 21:22:05 +01:00
1 parent 4870f0b089
commit e5fbf15828
5 files changed
+44 -20

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ class LoginForm(FlaskForm):
class NewPrefixForm(FlaskForm):
subnet = StringField(validators=[DataRequired(),IPAddress(ipv4=True),Length(max=128)])
prefix = IntegerField(validators=[DataRequired(),NumberRange(min=20,max=32)])
prefix = SelectField(choices=[(30,'/30'),(29,'/29'),(28,'/28'),(27,'/27'),(26,'/26'),(25,'/25'),(24,'/24'),(23,'/23'),(22,'/22')],validators=[DataRequired()])
description = StringField(validators=[Length(max=128)])
class NewAllocationForm(FlaskForm):