Added validation methods to post, refactored post view to use a form partial.