cyberstammtisch-silverstripe/themes/starter/templates/SilverStripe/Forms/OptionsetField_holder.ss
2021-10-20 13:45:30 +02:00

14 lines
516 B
Scheme
Executable file

<fieldset id="{$HolderID.ATT}" class="form-group {$ExtraClass.ATT} <% if $Message %>has-error<% end_if %>">
<% if $Title %>
<legend class="col-form-label form-group-as-label" id="title-{$ID}">
{$Title}
<% if $Required %>
<span class="required help-text">(<%t CWP_Form.RequiredLabel "required" %>)</span>
<% end_if %>
</legend>
<% end_if %>
{$Field}
<% include FormFieldMessage %>
<% include FormFieldDescription %>
</fieldset>