#!flask/bin/python
from flask_wtf import Form
from wtforms import StringField, BooleanField, SelectField
from wtforms.validators import DataRequired


class LoginForm(Form):

    
    
    summoner1 = StringField('Name 1', validators=[DataRequired()])
    summoner2 = StringField('Name 2', validators=[DataRequired()])   

    REGION_ABBREV = ('NA', 'EUW', 'EUNE', 'KR', 'RUS', 'BR', 'OCE', 'JP', 'TR', 'LAN', 'LAS')

    QUEUETYPE_ABBREV = ('Solo and Duo', 'Flex')

    SEASON_ABBREV = ('Season 8', 'Preseason 8', 'Season 7') 
    
    region = SelectField(label='Region', 
    choices=[(region, region) for region in REGION_ABBREV])

    queue = SelectField(label='Queue Type', 
    choices=[(queue, queue) for queue in QUEUETYPE_ABBREV])

    season = SelectField(label='Season', 
    choices=[(season, season) for season in SEASON_ABBREV])
