8 lines
379 B
Python
8 lines
379 B
Python
from flask_wtf import FlaskForm
|
|
from wtforms import StringField, PasswordField, BooleanField, SubmitField, SelectField, DecimalField
|
|
from wtforms import validators, ValidationError
|
|
from wtforms.fields.html5 import EmailField
|
|
|
|
class ActivateForm(FlaskForm):
|
|
period = SelectField('Domain Period', choices=[('1 Year', 12), ('2 Years', 24)])
|
|
submit = SubmitField('Activate')
|