Render errors for inline forms

Added small fix to render errors for inline forms.