from flask_wtf import FlaskForm
from wtforms import StringField, FileField, IntegerField, BooleanField, validators, SelectField, HiddenField

class GroupForm(FlaskForm):
    id = HiddenField("id")
    name = StringField("Group name", [validators.Length(min=2)])
    abbreviation = StringField("Abbreviation",  [validators.Length(min=1)])
    class Meta:
      csrf = True

class AddMemberForm(FlaskForm):
    member_id = SelectField("Select new member to add", coerce=int)
    class Meta:
        csrf = True


#= SelectField(u'Group', coerce=int)
af1560c29d7eea7e6be4c5a5a1f4747c8f6152e5
<mask token>


class AddMemberForm(FlaskForm):
    <mask token>


    class Meta:
        csrf = True

<mask token>


class GroupForm(FlaskForm):
    <mask token>
    <mask token>
    <mask token>


    class Meta:
        csrf = True


class AddMemberForm(FlaskForm):
    member_id = SelectField('Select new member to add', coerce=int)


    class Meta:
        csrf = True

<mask token>


class GroupForm(FlaskForm):
    id = HiddenField('id')
    name = StringField('Group name', [validators.Length(min=2)])
    abbreviation = StringField('Abbreviation', [validators.Length(min=1)])


    class Meta:
        csrf = True


class AddMemberForm(FlaskForm):
    member_id = SelectField('Select new member to add', coerce=int)


    class Meta:
        csrf = True

from flask_wtf import FlaskForm
from wtforms import StringField, FileField, IntegerField, BooleanField, validators, SelectField, HiddenField


class GroupForm(FlaskForm):
    id = HiddenField('id')
    name = StringField('Group name', [validators.Length(min=2)])
    abbreviation = StringField('Abbreviation', [validators.Length(min=1)])


    class Meta:
        csrf = True


class AddMemberForm(FlaskForm):
    member_id = SelectField('Select new member to add', coerce=int)


    class Meta:
        csrf = True

from flask_wtf import FlaskForm
from wtforms import StringField, FileField, IntegerField, BooleanField, validators, SelectField, HiddenField

class GroupForm(FlaskForm):
    id = HiddenField("id")
    name = StringField("Group name", [validators.Length(min=2)])
    abbreviation = StringField("Abbreviation",  [validators.Length(min=1)])
    class Meta:
      csrf = True

class AddMemberForm(FlaskForm):
    member_id = SelectField("Select new member to add", coerce=int)
    class Meta:
        csrf = True


#= SelectField(u'Group', coerce=int)