moved form content to PHP template script