#!/usr/bin/python
# -*- coding: utf-8 -*-
# Project File: Python 2.x or 3.x

# DESCRIPTION
"""
"""

__author__ = "Adam Dabdoub"
__copyright__ = "Copyright 2021, Dabdoub"
__credits__ = ["Adam Dabdoub"]
__developers__ = ["adamdabdoub "]
__license__ = "GPL"
__version__ = "1.0."
__maintainer__ = "Adam Dabdoub"
__email__ = "danammeansbear@gmail.com"
__status__ = "Production"


#IMPORTS
from wtforms import (
    Form, StringField, DecimalField,
    IntegerField, TextAreaField, PasswordField,
    validators
)

"""FORMS: registration, login, messaging
   setup class for each
"""

#User registration form
class RegisterForm(Form):
    name = StringField('Full Name', [validators.Length(min=1,max=50)])
    username = StringField('Username', [validators.Length(min=4,max=25)])
    email = StringField('Email',[validators.Length(min=6,max=50)])
    password = PasswordField('Password',[
        validators.DataRequired(),
        validators.EqualTo('confirm',message='Passwords do not match')
    ])
    confirm = PasswordField('Confirm Password')


#Send money form
class SendMoneyForm(Form):
    username = StringField('Username', [validators.Length(min=4,max=25)])
    amount = StringField('Amount',[validators.Length(min=1,max=50)])


#Buy DAB form
class BuyDabdoub(Form):
    amount = StringField('Amount',[validators.Length(min=1,max=50)])
    key = StringField('Key', [validators.Length(min=4,max=25)])

27813e1b1324774c689e9be92a29ab7c115240cf
<mask token>


class SendMoneyForm(Form):
    username = StringField('Username', [validators.Length(min=4, max=25)])
    amount = StringField('Amount', [validators.Length(min=1, max=50)])


class BuyDabdoub(Form):
    amount = StringField('Amount', [validators.Length(min=1, max=50)])
    key = StringField('Key', [validators.Length(min=4, max=25)])

<mask token>


class RegisterForm(Form):
    name = StringField('Full Name', [validators.Length(min=1, max=50)])
    username = StringField('Username', [validators.Length(min=4, max=25)])
    email = StringField('Email', [validators.Length(min=6, max=50)])
    password = PasswordField('Password', [validators.DataRequired(),
        validators.EqualTo('confirm', message='Passwords do not match')])
    confirm = PasswordField('Confirm Password')


class SendMoneyForm(Form):
    username = StringField('Username', [validators.Length(min=4, max=25)])
    amount = StringField('Amount', [validators.Length(min=1, max=50)])


class BuyDabdoub(Form):
    amount = StringField('Amount', [validators.Length(min=1, max=50)])
    key = StringField('Key', [validators.Length(min=4, max=25)])

<mask token>
__author__ = 'Adam Dabdoub'
__copyright__ = 'Copyright 2021, Dabdoub'
__credits__ = ['Adam Dabdoub']
__developers__ = ['adamdabdoub ']
__license__ = 'GPL'
__version__ = '1.0.'
__maintainer__ = 'Adam Dabdoub'
__email__ = 'danammeansbear@gmail.com'
__status__ = 'Production'
<mask token>


class RegisterForm(Form):
    name = StringField('Full Name', [validators.Length(min=1, max=50)])
    username = StringField('Username', [validators.Length(min=4, max=25)])
    email = StringField('Email', [validators.Length(min=6, max=50)])
    password = PasswordField('Password', [validators.DataRequired(),
        validators.EqualTo('confirm', message='Passwords do not match')])
    confirm = PasswordField('Confirm Password')


class SendMoneyForm(Form):
    username = StringField('Username', [validators.Length(min=4, max=25)])
    amount = StringField('Amount', [validators.Length(min=1, max=50)])


class BuyDabdoub(Form):
    amount = StringField('Amount', [validators.Length(min=1, max=50)])
    key = StringField('Key', [validators.Length(min=4, max=25)])

<mask token>
__author__ = 'Adam Dabdoub'
__copyright__ = 'Copyright 2021, Dabdoub'
__credits__ = ['Adam Dabdoub']
__developers__ = ['adamdabdoub ']
__license__ = 'GPL'
__version__ = '1.0.'
__maintainer__ = 'Adam Dabdoub'
__email__ = 'danammeansbear@gmail.com'
__status__ = 'Production'
from wtforms import Form, StringField, DecimalField, IntegerField, TextAreaField, PasswordField, validators
<mask token>


class RegisterForm(Form):
    name = StringField('Full Name', [validators.Length(min=1, max=50)])
    username = StringField('Username', [validators.Length(min=4, max=25)])
    email = StringField('Email', [validators.Length(min=6, max=50)])
    password = PasswordField('Password', [validators.DataRequired(),
        validators.EqualTo('confirm', message='Passwords do not match')])
    confirm = PasswordField('Confirm Password')


class SendMoneyForm(Form):
    username = StringField('Username', [validators.Length(min=4, max=25)])
    amount = StringField('Amount', [validators.Length(min=1, max=50)])


class BuyDabdoub(Form):
    amount = StringField('Amount', [validators.Length(min=1, max=50)])
    key = StringField('Key', [validators.Length(min=4, max=25)])

#!/usr/bin/python
# -*- coding: utf-8 -*-
# Project File: Python 2.x or 3.x

# DESCRIPTION
"""
"""

__author__ = "Adam Dabdoub"
__copyright__ = "Copyright 2021, Dabdoub"
__credits__ = ["Adam Dabdoub"]
__developers__ = ["adamdabdoub "]
__license__ = "GPL"
__version__ = "1.0."
__maintainer__ = "Adam Dabdoub"
__email__ = "danammeansbear@gmail.com"
__status__ = "Production"


#IMPORTS
from wtforms import (
    Form, StringField, DecimalField,
    IntegerField, TextAreaField, PasswordField,
    validators
)

"""FORMS: registration, login, messaging
   setup class for each
"""

#User registration form
class RegisterForm(Form):
    name = StringField('Full Name', [validators.Length(min=1,max=50)])
    username = StringField('Username', [validators.Length(min=4,max=25)])
    email = StringField('Email',[validators.Length(min=6,max=50)])
    password = PasswordField('Password',[
        validators.DataRequired(),
        validators.EqualTo('confirm',message='Passwords do not match')
    ])
    confirm = PasswordField('Confirm Password')


#Send money form
class SendMoneyForm(Form):
    username = StringField('Username', [validators.Length(min=4,max=25)])
    amount = StringField('Amount',[validators.Length(min=1,max=50)])


#Buy DAB form
class BuyDabdoub(Form):
    amount = StringField('Amount',[validators.Length(min=1,max=50)])
    key = StringField('Key', [validators.Length(min=4,max=25)])
