Added Post validations, added post form partial to make the code DRY, used Application Helper to refactor the form partial