silverstripe-framework/admin/themes/cms-forms/templates/forms/CreditCardField.ss

10 lines
620 B
Scheme
Raw Normal View History

<span id="$ID" class="creditCardField">
<input $getAttributesHTML('id', 'name', 'value', 'tabindex') class="form-control" name="{$Name}[0]" value="{$ValueOne}" $TabIndexHTML(0)/>
-
<input $getAttributesHTML('id', 'name', 'value', 'tabindex') class="form-control" name="{$Name}[1]" value="{$ValueTwo}" $TabIndexHTML(1)/>
-
<input $getAttributesHTML('id', 'name', 'value', 'tabindex') class="form-control" name="{$Name}[2]" value="{$ValueThree}" $TabIndexHTML(2)/>
-
<input $getAttributesHTML('id', 'name', 'value', 'tabindex') class="form-control" name="{$Name}[3]" value="{$ValueFour}" $TabIndexHTML(3)/>
</span>