mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API Using $HolderID for form field container templates
Replaces duplicate $ID usage. See https://github.com/silverstripe/silverstripe-framework/pull/1873
This commit is contained in:
parent
5a1d476e8d
commit
0c4ec4708b
@ -1,4 +1,4 @@
|
||||
<div id="$Name" class="field<% if extraClass %> $extraClass<% end_if %>">
|
||||
<div id="$HolderID" class="field<% if extraClass %> $extraClass<% end_if %>">
|
||||
$Field
|
||||
<label class="right" for="$ID">$Title</label>
|
||||
<% if Message %><span class="message $MessageType">$Message</span><% end_if %>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<ul id="$ID" class="$extraClass">
|
||||
<ul id="$HolderID" class="$extraClass">
|
||||
<% if Options.Count %>
|
||||
<% loop Options %>
|
||||
<li class="$Class">
|
||||
|
@ -1,4 +1,4 @@
|
||||
<ul id="$ID" class="$extraClass">
|
||||
<ul id="$HolderID" class="$extraClass">
|
||||
<% loop Options %>
|
||||
<li class="$Class">
|
||||
<input id="$ID" class="radio" name="$Name" type="radio" value="$Value"<% if isChecked %> checked<% end_if %><% if isDisabled %> disabled<% end_if %> />
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div id="TreeDropdownField_$ID"
|
||||
<div id="$HolderID"
|
||||
class="TreeDropdownField single<% if extraClass %> $extraClass<% end_if %><% if ShowSearch %> searchable<% end_if %>"
|
||||
data-url-tree="$Link(tree)"
|
||||
data-title="$TitleURLEncoded"
|
||||
|
Loading…
Reference in New Issue
Block a user