mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
18 lines
691 B
Scheme
18 lines
691 B
Scheme
|
<div id="$HolderID" class="form__fieldgroup-item field field--small<% if $extraClass %> $extraClass<% end_if %>">
|
||
|
<% if $Title %>
|
||
|
<label for="$ID" id="title-$ID" class="form__fieldgroup-label">$Title</label>
|
||
|
<% end_if %>
|
||
|
<$Tag id="$ID"
|
||
|
<% if $Title %>aria-labelledby="title-$ID"<% end_if %>
|
||
|
class="form__fieldgroup form__field-holder
|
||
|
<% if not $Title %> form__field-holder--no-label<% end_if %>
|
||
|
<% if $Zebra %> form__fieldgroup-zebra<% end_if %>
|
||
|
<% if $extraClass %> $extraClass<% end_if %>"
|
||
|
>
|
||
|
<%-- Note: _holder_small.ss overrides CompositeField.ss to force nested $SmallFieldHolder --%>
|
||
|
<% loop $FieldList %>
|
||
|
$SmallFieldHolder
|
||
|
<% end_loop %>
|
||
|
</$Tag>
|
||
|
</div>
|