<%= unless_errors alerts_html_id: 'dialog-local-alerts' do %> $("#search-results").html("<%= j(render 'openstax/accounts/dev/accounts/search_results') %>"); <% end %>