1
0

Slim, Liquid templates

This commit is contained in:
2013-12-14 02:40:54 +07:00
parent b41d194a63
commit 41d073b785
12 changed files with 171 additions and 40 deletions
+7 -7
View File
@@ -6,14 +6,14 @@
- customers.each do |customer|
%dl
%dt Name:
%dd= customer[:name]
%dd= customer['name']
%dt Age:
%dd= customer[:age]
%dd= customer['age']
%dt Address:
%dd
= customer[:zip]
= customer[:country]
= customer[:city]
= customer[:address]
= customer['zip']
= customer['country']
= customer['city']
= customer['address']
%dt Employer:
%dd= customer[:employer]
%dd= customer['employer']