# if( typeof data.field_nonce !== "undefined" && data.field_nonce !== "" ) { #>
<# } #>
<# _.each( data.fields, function( field_information ) { #>
<# let field_input_name = ( data.field_namespace === '' ? field_information.name : data.field_namespace + '[' + field_information.name + ']' ); #>
<# let _has_label = false; #>
<# if( field_information.type === "repeater_order" ) { #>
<# } else if( field_information.type === "hidden" ) { #>
<# } else if( field_information.type === "header" ) { #>
<# if( typeof field_information.label !== 'undefined' && field_information.label !== '' ) { #>
{{ field_information.label }}
<# } else if( typeof field_information.title !== 'undefined' && field_information.title !== '' ) { #>
{{ field_information.title }}
<# } #>
<# } else { #>
<# _.each( field_information.row_attributes, function( _value, _key ) { #>
{{ _key }}="{{ _value }}"
<# }) #>
<# } #>
>
<# if( typeof field_information.label !== 'undefined' && field_information.label !== null && field_information.label !== '' ) { #>
<# _has_label = true; #>
<# } else if( typeof field_information.title !== 'undefined' && field_information.title !== null && field_information.title !== '' ) { #>
<# _has_label = true; #>
<# } #>
{{{ PaymentPage.Template.get( "form", "template/field.html", { field_information : field_information, field_input_name : field_input_name, _has_label : _has_label } ) }}}
<# if( typeof field_information.description !== 'undefined' ) { #>
{{{ field_information.description }}}
<# } #>
<# } #>
<# }) #>