List

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

not found.

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