Slim, Liquid templates
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user