- Added a ui:/form token to form/endform

This commit is contained in:
Dave Mc Nicoll committed 2025-10-15 15:01:20 +00:00
1 parent 1044e35946
commit a1c51bed10
1 file changed
+2 -1
+2 -1
View File
@@ -11,7 +11,7 @@ class UiForm extends UiElement implements Extension {
public string $defaultMethod = "get";
public array $token = [ "ui:form", "ui:endform" ];
public array $token = [ "ui:form", "ui:endform", "ui:/form" ];
public array $attributes = [
'class' => 'ui-form',
@@ -30,6 +30,7 @@ class UiForm extends UiElement implements Extension {
switch($token) {
case 'ui.endform': # bw compat
case 'ui:endform':
case 'ui:/form':
return "</form>";
}