[% MACRO uriencode BLOCK -%][% key | uri -%]=[% value | uri -%]&[% END -%]
[% SET stepUrl = '' -%] [% FOREACH item IN wizardData.formData.keys -%] [%# Construct the url part for the steps navigation -%] [% stepUrl = stepUrl _ uriencode(key=item, value=wizardData.formData.$item) -%] [% END -%] [% IF wizardData.nextStepKey -%] [%# RENDER form data as input hidden stuff -%] [% END -%] [%# Remove trailing '&' and encode the step's url part -%] [% stepUrl = stepUrl.remove('\&$') -%] [%# RENDER Wizard Navigation -%]
[%- content -%]