1
0
Fork 0
template_engine_comparison/templates/string/big.str

29 lines
528 B
Plaintext

<!DOCTYPE html>
<html>
<head>
<title>Customers List</title>
</head>
<body>
#{ customers.map do |customer|
<<-END
<dl>
<dt>Name:</dt>
<dd>#{customer['name']}</dd>
<dt>Age:</dt>
<dd>#{customer['age']}</dd>
<dt>Address:</dt>
<dd>
#{customer['zip']}
#{customer['country']}
#{customer['city']}
#{customer['address']}
</dd>
<dt>Employer:</dt>
<dd>#{customer['employer']}</dd>
</dl>
END
end.join }
<% end %>
</body>
</html>