moved form and footer to partials