Fix some formatting issues.
Add form rendering and validation.
Merge branch 'forms'