Added validation methods to post. Refactored post views to use a form partial.