improve templates

1. Add "form-wrapper" CSS class for all forms.
2. Change login.html to use partials.
3. Only use tab for indentation.
4. Delete some unnecessary empty lines.