Add directive show_errors to handle validations when posting form