Add render_error_messages helper