implement post create/update form, and use extract the form and errors to partials