mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
c9b6e9bac0
API Update behaviour of form fields to use standard template lookup mechanism API Support custom "type" parameter to template lookup
10 lines
620 B
Scheme
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>
|