summaryrefslogtreecommitdiffstats
path: root/accounts/views/login/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/views/login/forms.py')
-rw-r--r--accounts/views/login/forms.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/accounts/views/login/forms.py b/accounts/views/login/forms.py
new file mode 100644
index 0000000..a82fa39
--- /dev/null
+++ b/accounts/views/login/forms.py
@@ -0,0 +1,8 @@
+# -*- coding: utf-8 -*-
+from flask.ext.wtf import Form
+from wtforms import TextField, PasswordField, validators
+
+
+class LoginForm(Form):
+ username = TextField(u'Benutzername')
+ password = PasswordField('Passwort', [validators.Required()])