Added validation to post, refactor post with form partial