Add big templates
This commit is contained in:
@@ -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>
|
||||
@@ -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>
|
||||
@@ -0,0 +1,19 @@
|
||||
!!!
|
||||
%html
|
||||
%head
|
||||
%title Customers List
|
||||
%body
|
||||
- customers.each do |customer|
|
||||
%dl
|
||||
%dt Name:
|
||||
%dd= customer[:name]
|
||||
%dt Age:
|
||||
%dd= customer[:age]
|
||||
%dt Address:
|
||||
%dd
|
||||
= customer[:zip]
|
||||
= customer[:country]
|
||||
= customer[:city]
|
||||
= customer[:address]
|
||||
%dt Employer:
|
||||
%dd= customer[:employer]
|
||||
Reference in New Issue
Block a user