silverstripe-webpack/app/templates/SilverStripe/UserForms/Model/EditableFormField_holder.ss
2023-08-04 00:28:22 +02:00

18 lines
721 B
Scheme

<div id="$Name" class="form-floating form__field field<% if $extraClass %> $extraClass<% end_if %>">
<div class="field__content middleColumn">
<div class="form-floating">
$Field
<% if $Title %><label for="$ID">$Title</label><% end_if %>
</div>
</div>
<% if $Title && $RightTitle %>
<div class="field__label field__label-right right">$RightTitle</div>
<% else_if $RightTitle %>
<label class="field__label field__label-right right" for="$ID">$RightTitle</label>
<% end_if %>
<% if $Message %><span class="field__alert alert alert-{$MessageType} message $MessageType">$Message</span><% end_if %>
<% if $Description %><span class="field__description description">$Description</span><% end_if %>
</div>