Validating posts, created a new helper method and DRY'd up the forms for adding/editing a post