Updated the store action on the PostsController to validate the inputs before creating the new post.
Upon validation failure, redirects back to the create action with the validation errors. Updated the create view so that all the validation errors are shown to the user.