Files
blender-cloud/cloud/forms.py
Francesco Siddi 4f9699c7ae Remove 16_9 image from extension props
This property is now available on Project level.
2019-04-19 12:52:47 +02:00

16 lines
546 B
Python

from flask_wtf import FlaskForm
from wtforms import BooleanField, StringField
from wtforms.validators import URL
from flask_wtf.html5 import URLField
from pillar.web.utils.forms import FileSelectField
class FilmProjectForm(FlaskForm):
video_url = URLField(validators=[URL()])
poster = FileSelectField('Poster Image', file_format='image')
logo = FileSelectField('Logo', file_format='image')
is_in_production = BooleanField('In Production')
is_featured = BooleanField('Featured')
theme_color = StringField('Theme Color')