for each="party in records"
party.full_name
if test="party.addresses"
for each="line in party.addresses[0].full_address.split('\n')"
line
/for
for each="i in range(5 -len(party.addresses[0].full_address.split('\n')))"
/for
/if
if test="not party.addresses"
/if
/for