blob: d6416bd2105b2dcc226f6a15d725fddcd0726f46 (
plain)
1
2
3
4
5
6
7
8
9
10
|
from wtforms import Form, SubmitField, HiddenField, SelectField
from flask_wtf import FlaskForm
from flask_babel import _
class WOLForm(FlaskForm):
ips = HiddenField()
wol_type = SelectField(label=_('Type'),
choices=[('broadcast', 'Broadcast'),
('unicast', 'Unicast')])
submit = SubmitField(label=_('Submit'))
|