


# форма для domens
class DomensForm(Form):
    id = fields.TextField(u'id'  , default=u'None', validators=[validators.required()])
    cdate = fields.TextField(u'cdate'  , default=u'None', validators=[validators.required()])
    udate = fields.TextField(u'udate'  , default=u'None', validators=[validators.required()])
    name = fields.TextField(u'name'  , default=u'None', validators=[validators.required()])
    title = fields.TextField(u'title'  , default=u'None', validators=[validators.required()])
    counter = fields.TextAreaField (u'counter'  , default=u'None', validators=[validators.required()])
    description = fields.TextAreaField (u'description'  , default=u'None', validators=[validators.required()])
    keywords = fields.TextField(u'keywords'  , default=u'None', validators=[validators.required()])
    phone = fields.TextField(u'phone'  , default=u'None', validators=[validators.required()])
    template_path = fields.TextField(u'template_path'  , default=u'None', validators=[validators.required()])
    address = fields.TextField(u'address'  , default=u'None', validators=[validators.required()])
    



# форма для users
class UsersForm(Form):
    id = fields.TextField(u'id'  , default=u'None', validators=[validators.required()])
    first_name = fields.TextField(u'first_name'  , default=u'None', validators=[validators.required()])
    last_name = fields.TextField(u'last_name'  , default=u'None', validators=[validators.required()])
    login = fields.TextField(u'login'  , default=u'None', validators=[validators.required()])
    email = fields.TextField(u'email'  , default=u'None', validators=[validators.required()])
    password = fields.TextField(u'password'  , default=u'None', validators=[validators.required()])
    role = fields.TextField(u'role'  , default=u'None', validators=[validators.required()])
    active = fields.TextField(u'active'  , default=u'None', validators=[validators.required()])
    cdate = fields.TextField(u'cdate'  , default=u'None', validators=[validators.required()])
    
