<% title %> <%= render partial: 'layouts/quick_search/page_title', locals: { page_title: @page_title } %> <%= render partial: 'layouts/quick_search/search_form' %>
    <%= render partial: 'layouts/quick_search/found_types' %>
    <%# FIXME: This logic could stand a second look %> <% unless @summon.is_a? StandardError %> <% unless @best_bets.is_a? StandardError %> <% if @best_bets.results.blank? %> <% unless @summon.spelling_suggestion.blank? %> <%= render partial: 'layouts/quick_search/spelling_suggestion', locals: { spelling_suggestion: @summon.spelling_suggestion} %> <% end %> <% end %> <% end %> <% else %> <% end %>
    <% if @best_bets.is_a? StandardError %>
    <% else %> <% unless @best_bets.results.blank? %> <%= render partial: 'layouts/quick_search/best_bets', locals: { best_bets: get_best_bets_data(@best_bets)} %> <% end %> <% end %>
    <%= render_module(@summon, 'summon') %>
    <%= render_module(@catalog, 'catalog') %>

    Other Ways to Find Articles

    <%= render_module(@ematrix_journal, 'ematrix_journal') %>
    <%= render_module(@ematrix_database, 'ematrix_database') %>
    <% if @smart_subjects.is_a? StandardError %>
    <% else %> <% unless @smart_subjects.results.blank? %> <%= render_module(@smart_subjects, 'smart_subjects') %> <% end %> <% end %>

    Information About the Libraries

    <% if @faq.is_a? StandardError %>
    <% else %> <% unless @faq.results.blank? %> <%= render_module(@faq, 'faq') %> <% end %> <% end %>
    <%= render_module(@website, 'website') %>
    <% unless @summon.is_a? StandardError %> <% unless @summon.related_topics.blank? %> <% end %> <% else %> <% end %>
    <%= render partial: 'layouts/quick_search/more_options' %>