Add form tags directly to index.html

The Automatic Page Generator only allows a specific subset of HTML, so it's necessary to add the form logic directly.