diff --git a/src/Forms/GridField/GridFieldDetailForm_ItemRequest.php b/src/Forms/GridField/GridFieldDetailForm_ItemRequest.php index 61b1d323605..153c0666d4d 100644 --- a/src/Forms/GridField/GridFieldDetailForm_ItemRequest.php +++ b/src/Forms/GridField/GridFieldDetailForm_ItemRequest.php @@ -352,11 +352,11 @@ protected function getCreateContext() protected function getRightGroupField() { $rightGroup = CompositeField::create()->setName('RightGroup'); - $rightGroup->addExtraClass('ml-auto'); + $rightGroup->addExtraClass('ms-auto'); $rightGroup->setFieldHolderTemplate(get_class($rightGroup) . '_holder_buttongroup'); $previousAndNextGroup = CompositeField::create()->setName('PreviousAndNextGroup'); - $previousAndNextGroup->addExtraClass('btn-group--circular mr-2'); + $previousAndNextGroup->addExtraClass('btn-group--circular me-2'); $previousAndNextGroup->setFieldHolderTemplate(CompositeField::class . '_holder_buttongroup'); $component = $this->gridField->getConfig()->getComponentByType(GridFieldDetailForm::class); diff --git a/src/Security/PermissionCheckboxSetField.php b/src/Security/PermissionCheckboxSetField.php index 7592dc68170..e0dddecd142 100644 --- a/src/Security/PermissionCheckboxSetField.php +++ b/src/Security/PermissionCheckboxSetField.php @@ -253,7 +253,7 @@ public function Field($properties = []) $options .= "
  • " . "name[$code]\" type=\"checkbox\"" . " value=\"$code\"$checked class=\"checkbox\" />" - . "
  • \n"; @@ -261,7 +261,7 @@ public function Field($properties = []) $options .= "
  • " . "name[$code]\" type=\"checkbox\"" . " value=\"$code\"$checked class=\"checkbox\" />" - . "" + . "" . "
  • \n"; } } diff --git a/templates/RightLabelledFieldHolder.ss b/templates/RightLabelledFieldHolder.ss index 574ab26d429..fef2b955233 100644 --- a/templates/RightLabelledFieldHolder.ss +++ b/templates/RightLabelledFieldHolder.ss @@ -1,5 +1,5 @@

    $Field - + <% if $Message %>$Message<% end_if %>

    diff --git a/templates/SilverStripe/Forms/CheckboxField_holder.ss b/templates/SilverStripe/Forms/CheckboxField_holder.ss index 1114073b7d9..d9b216c9d6c 100644 --- a/templates/SilverStripe/Forms/CheckboxField_holder.ss +++ b/templates/SilverStripe/Forms/CheckboxField_holder.ss @@ -1,6 +1,6 @@
    $Field - + <% if $Message %>$Message<% end_if %> <% if $Description %>$Description<% end_if %>
    diff --git a/templates/SilverStripe/Forms/CheckboxField_holder_small.ss b/templates/SilverStripe/Forms/CheckboxField_holder_small.ss index 5d5c19e7327..58c34c0286e 100644 --- a/templates/SilverStripe/Forms/CheckboxField_holder_small.ss +++ b/templates/SilverStripe/Forms/CheckboxField_holder_small.ss @@ -1,5 +1,5 @@ $Field <% if $Title %> - + <% end_if %> diff --git a/templates/SilverStripe/Forms/CheckboxSetField.ss b/templates/SilverStripe/Forms/CheckboxSetField.ss index 75d1a62b975..76cbf73c74a 100644 --- a/templates/SilverStripe/Forms/CheckboxSetField.ss +++ b/templates/SilverStripe/Forms/CheckboxSetField.ss @@ -3,7 +3,7 @@ <% loop $Options %>
  • checked="checked"<% end_if %><% if $isDisabled %> disabled="disabled"<% end_if %> /> - +
  • <% end_loop %> <% else %> diff --git a/templates/SilverStripe/Forms/FieldGroup_holder.ss b/templates/SilverStripe/Forms/FieldGroup_holder.ss index 19b45bb1689..9b16bf0b6c1 100644 --- a/templates/SilverStripe/Forms/FieldGroup_holder.ss +++ b/templates/SilverStripe/Forms/FieldGroup_holder.ss @@ -1,5 +1,5 @@
    id="$Name"<% end_if %> class="field <% if $extraClass %>$extraClass<% end_if %>"> - <% if $Title %><% end_if %> + <% if $Title %><% end_if %>
    <% loop $FieldList %> @@ -8,7 +8,7 @@
    <% end_loop %>
    - <% if $RightTitle %><% end_if %> + <% if $RightTitle %><% end_if %> <% if $Message %>$Message<% end_if %> <% if $Description %>$Description<% end_if %> diff --git a/templates/SilverStripe/Forms/FormField_holder.ss b/templates/SilverStripe/Forms/FormField_holder.ss index df878d9ac4f..b108411a2e6 100644 --- a/templates/SilverStripe/Forms/FormField_holder.ss +++ b/templates/SilverStripe/Forms/FormField_holder.ss @@ -1,9 +1,9 @@
    - <% if $Title %><% end_if %> + <% if $Title %><% end_if %>
    $Field
    - <% if $RightTitle %><% end_if %> + <% if $RightTitle %><% end_if %> <% if $Message %>$Message<% end_if %> <% if $Description %>$Description<% end_if %>
    diff --git a/templates/SilverStripe/Forms/FormField_holder_small.ss b/templates/SilverStripe/Forms/FormField_holder_small.ss index 15b3280d573..df5edae6007 100644 --- a/templates/SilverStripe/Forms/FormField_holder_small.ss +++ b/templates/SilverStripe/Forms/FormField_holder_small.ss @@ -1,5 +1,5 @@
    - <% if $Title %><% end_if %> + <% if $Title %><% end_if %> $Field - <% if $RightTitle %><% end_if %> + <% if $RightTitle %><% end_if %>
    diff --git a/templates/SilverStripe/Forms/GridField/GridFieldEditButton.ss b/templates/SilverStripe/Forms/GridField/GridFieldEditButton.ss index 42f39d3dd6e..df850e6330e 100644 --- a/templates/SilverStripe/Forms/GridField/GridFieldEditButton.ss +++ b/templates/SilverStripe/Forms/GridField/GridFieldEditButton.ss @@ -2,5 +2,5 @@ class="grid-field__icon-action {$ExtraClass} action action-detail edit-link" href="$Link" title="<%t SilverStripe\\Forms\\GridField\\GridFieldEditButton.EDIT 'Edit' %>" > - <%t SilverStripe\\Forms\\GridField\\GridFieldEditButton.EDIT 'Edit' %> + <%t SilverStripe\\Forms\\GridField\\GridFieldEditButton.EDIT 'Edit' %> diff --git a/templates/SilverStripe/Forms/GridField/GridFieldImportButton_Modal.ss b/templates/SilverStripe/Forms/GridField/GridFieldImportButton_Modal.ss index 853913e036e..d23009fc4d4 100644 --- a/templates/SilverStripe/Forms/GridField/GridFieldImportButton_Modal.ss +++ b/templates/SilverStripe/Forms/GridField/GridFieldImportButton_Modal.ss @@ -5,7 +5,7 @@ <% if $ImportModalTitle %> <% end_if %> - diff --git a/templates/SilverStripe/Forms/GridField/GridFieldViewButton.ss b/templates/SilverStripe/Forms/GridField/GridFieldViewButton.ss index 45c5a2993be..8422b59a5d6 100644 --- a/templates/SilverStripe/Forms/GridField/GridFieldViewButton.ss +++ b/templates/SilverStripe/Forms/GridField/GridFieldViewButton.ss @@ -1,3 +1,3 @@ - View + View diff --git a/templates/SilverStripe/Forms/HTMLEditor/HTMLEditorField_Toolbar_viewfile.ss b/templates/SilverStripe/Forms/HTMLEditor/HTMLEditorField_Toolbar_viewfile.ss index b7661c84967..0e8f2c8a3e8 100644 --- a/templates/SilverStripe/Forms/HTMLEditor/HTMLEditorField_Toolbar_viewfile.ss +++ b/templates/SilverStripe/Forms/HTMLEditor/HTMLEditorField_Toolbar_viewfile.ss @@ -10,7 +10,7 @@
    -