- Added a ui:/form token to form/endform
This commit is contained in:
parent
1044e35946
commit
a1c51bed10
@ -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>";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user