Added validation methods to post, refactored post views to use a form partila.
Merge branch 'validating-posts'
Refactoring code