silverstripe-framework/admin/themes/cms-forms/templates/forms/CreditCardField.ss
Damian Mooyman a809e80d01 API Convert CMS forms to bootstrap
NEW Add cms-forms microtheme to cater to bootstrap's needs.

Note that the old SS3 assets section is buggy as a result of this change.
2016-07-25 17:24:26 +12:00

10 lines
620 B
Scheme

<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>