foodsoft/app/views/shared/_auto_complete_users.rhtml

5 lines
No EOL
210 B
Text

<ul class="autocomplete">
<% for user in @users do -%>
<li><span class="nick"><%=h user.nick %></span><span class="informal"> (<%= user.ordergroup.name.to_s if user.ordergroup %>)</span></li>
<% end -%>
</ul>