Fix some indentation and add support for custom form error display