added form attribute to page.py