Remove extra newline
Use form field for type input
Whoops, missed indentation
Add optional edited_site form field
Move existing homepage validation to the form model
Move end-indentation
Move title logic to form model
Access the cleaned type value, not POST data
Don't strip twice
Add datetime import
Define template inputs as form fields