<div id="main">
  <div class="col-md-9">
    <div class="ad_excerpt"> 
      <div class="error">
      <% if defined? @q %>
        <%= t('nlt.search.no_ads_message_html', 
              q: @q, 
              woeid: link_to(WoeidHelper.convert_woeid_name(@id)[:full], ads_woeid_path(@id, type: "give"))) 
        %>
      <% else %>
        <%= t('nlt.search.must_search') %>
      <% end %>
      </div>
    </div>
  </div>
</div>

<div class="error">
  <% if defined? @q %>
    <%= t('nlt.search.no_ads_message_html', 
          q: @q, 
          woeid: link_to(WoeidHelper.convert_woeid_name(@id)[:full], ads_woeid_path(@id, type: "give"))) 
    %>
  <% else %>
    <%= t('nlt.search.must_search') %>
  <% end %>
</div>

Reduce nesting in "no search results" template
Reduce nesting in "no search results" template

This is not a main template but something we include in a layout so all
that nesting is unnecessary.
