Add basic functionality
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
h1 Countries
|
||||
table
|
||||
tr
|
||||
th Name
|
||||
th ISO 3166-1 alpha-2 code
|
||||
th ISO 3166-1 alpha-3 code
|
||||
- for country in countries
|
||||
tr
|
||||
td = country.name
|
||||
td = country.iso2
|
||||
td = country.iso3
|
||||
@@ -0,0 +1,9 @@
|
||||
h1 = country.name
|
||||
b ID  
|
||||
= country.id
|
||||
br
|
||||
b ISO 3166-1 alpha-2 code  
|
||||
= country.iso2
|
||||
br
|
||||
b ISO 3166-1 alpha-2 code  
|
||||
= country.iso3
|
||||
@@ -0,0 +1,15 @@
|
||||
h1= person.name
|
||||
table
|
||||
thead
|
||||
tr
|
||||
th Country
|
||||
th Arrival
|
||||
th Departure
|
||||
th Duration (days)
|
||||
tbody
|
||||
- for stay in person.stays
|
||||
tr
|
||||
td = stay[:country].name + " (" + stay[:country].iso2 + ")"
|
||||
td = stay[:arrival]
|
||||
td = stay[:departure]
|
||||
td = stay[:duration]
|
||||
Reference in New Issue
Block a user