@@ -0,0 +1,539 @@
+import colander%0Aimport deform%0A%0Afrom csrf import CSRFSchema%0A%0Aclass LoginForm(CSRFSchema):%0A    %22%22%22The user login form.%22%22%22%0A    username = colander.SchemaNode(colander.String(),%0A            title=%22Username%22,%0A            widget=deform.widget.TextInputWidget(css_class='form-control'),%0A            )%0A    password = colander.SchemaNode(colander.String(),%0A            title=%22Password%22,%0A            validator=colander.Length(min=5),%0A            widget=deform.widget.PasswordWidget(size=20,%0A                css_class='form-control'),%0A            )%0A%0A

Add LoginForm