use dom_id
ApplicationHelper.render_form_errors → render partial: 'application/form_errors'
Order#registered?