raven/views/search/list.erb

15 lines
402 B
Plaintext

<div class="row">
<div class="twelve columns">
<h4>Matching inventory:</h4>
<% if results.length > 0 %>
<ul class="u-full-width">
<% results.each do |r| %>
<li><a href="<%= r.getLink() %>"><%= r.name %></a></li>
<% end %>
</ul>
<% else %>
<p>Sorry, nothing in your hardware inventory matches that search term.</p>
<% end %>
</div>
</div>