putting the form on the edit page