Update atst to atat
This commit is contained in:
13
atat/forms/ccpo_user.py
Normal file
13
atat/forms/ccpo_user.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from flask_wtf import FlaskForm
|
||||
from wtforms.validators import Required, Length
|
||||
from wtforms.fields import StringField
|
||||
|
||||
from atat.forms.validators import Number
|
||||
from atat.utils.localization import translate
|
||||
|
||||
|
||||
class CCPOUserForm(FlaskForm):
|
||||
dod_id = StringField(
|
||||
translate("forms.new_member.dod_id_label"),
|
||||
validators=[Required(), Length(min=10, max=10), Number()],
|
||||
)
|
Reference in New Issue
Block a user