This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/app/views/autocomplete/_results.rhtml

8 lines
174 B
Plaintext

<ul>
<% if @items.empty? -%>
<li><strong>Ohtehnoz! No maches found!</strong></li>
<% else -%>
<%= @items.collect { |x| "<li>#{x.send(@value)}</li>" } %>
<% end -%>
</ul>