fix code to appear only on pages with forms.