htmlId}}id="{$field->htmlId}"{{endif}} class=''> {{if $field->options['attr']}}
options['attr'] as $k => $v}}{$k}="{$v}"{{endforeach}}> {{endif}} {{if $field->options['jsRequired']}}
{lang="card_requires_js"}
{{endif}}
options['loading'] and !\count( $storedCards )}}class="ipsLoading ipsFaded ipsFaded_more"{{endif}}> {{if \count( $storedCards )}}
    {{$j = 0;}} {{foreach $storedCards as $i => $card}}

  • {{if $card->card->type}}{lang="card_type_{$card->card->type}"}{{endif}} {{if $card->card->expMonth}}{lang="card_expires_lc"} {$card->card->expMonth}/{$card->card->expYear}{{endif}}
  • {{$j++;}} {{endforeach}}


{{endif}} {{if \count( $types )}}
    {{foreach $types as $key => $lang}}
  • {lang="$lang"}
  • {{endforeach}}
{{endif}}
{{if $field->options['dummy']}}
{{else}} options['names']}}name="{$field->name}[number]"{{endif}} data-card="number" id="elInput_{$field->htmlId}-number" maxlength="16" value="{$number}" autocomplete="cc-number">
{{endif}} {{if $field->error and !\in_array( $field->error, array( 'card_expire_expired', 'ccv_invalid', 'ccv_invalid_3', 'ccv_invalid_4' ) )}}{lang="$field->error"}{{endif}}
{{if $field->options['dummy']}}
{{else}}
{{endif}}
{{if $field->error == 'card_expire_expired'}}{lang="$field->error"}{{endif}}
error == 'ccv_invalid_3' or $field->error == 'ccv_invalid_4'}}ipsFieldRow_error{{endif}}'>
{{if $field->options['dummy']}}
{{else}} options['names']}}name="{$field->name}[ccv]"{{endif}} data-card="ccv" id="elInput_{$field->htmlId}-ccv" maxlength="4" value="{$ccv}" autocomplete="cc-csc"> {{endif}}
{{if $field->error == 'ccv_invalid' or $field->error == 'ccv_invalid_3' or $field->error == 'ccv_invalid_4'}}{lang="$field->error"}{{endif}}
{{if $field->options['save']}}
{{endif}} {{if \count( $storedCards )}}
{{endif}}
{{if $field->options['attr']}}
{{endif}}