Added validations to Post, refactored post views to use form partial