<% unless data[:lines].empty? %> <% data[:lines].each_line do |line| %> <%= line %>
<% end %> <% end %>