mirror of
https://github.com/sartography/protocol-builder-mock.git
synced 2025-01-12 16:54:25 +00:00
Merge branch 'master' into rrt/dev
This commit is contained in:
commit
afac5dc9e3
3
forms.py
3
forms.py
@ -3,13 +3,14 @@ import sys
|
||||
from flask_table import Table, Col, DateCol, LinkCol, BoolCol, DatetimeCol, NestedTableCol
|
||||
from flask_wtf import FlaskForm
|
||||
from wtforms import SelectMultipleField, SubmitField, StringField, IntegerField, BooleanField, DateField, widgets, \
|
||||
SelectField, validators
|
||||
SelectField, validators, HiddenField
|
||||
from wtforms_alchemy import ModelForm
|
||||
|
||||
from models import RequiredDocument, Investigator, StudyDetails
|
||||
|
||||
|
||||
class StudyForm(FlaskForm):
|
||||
STUDYID = HiddenField()
|
||||
TITLE = StringField('Title', [validators.required()])
|
||||
NETBADGEID = StringField('User UVA Computing Id', [validators.required()])
|
||||
requirements = SelectMultipleField("Requirements",
|
||||
|
Loading…
x
Reference in New Issue
Block a user