Project

General

Profile

Feature #1308 » _user_search.rhtml

Mark Gallop, 2008-06-20 17:12

 
1
<ul class="users">
2
<% if !@users.empty? %>
3
<% for user in @users do -%>
4
<li class="user"><div class="name"><%=h user.name %></div><div class="email"><span class="informal"><%=h user.mail %></span></div></li>
5
<% end -%>
6
<% else %>
7
<li class="user">
8
  No user found!
9
</li>
10
<% end %>
11
</ul>
(2-2/3)