List

<% if !@list || @list.empty? %>

not found.

<% else %> <% @list.each_with_index do |item, i| %> <% end %>
<%= item %>
<% end %>