separated default and custom form rendering