1
0

Add big templates

This commit is contained in:
2013-12-14 01:43:03 +07:00
parent 1e8c510d47
commit b41d194a63
12 changed files with 154 additions and 27 deletions
+25
View File
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<title>Customers List</title>
</head>
<body>
<% customers.each do |customer| %>
<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 %>
</body>
</html>