add additional property to user

This commit is contained in:
2024-12-03 10:51:22 +03:00
parent 159b3933fb
commit c0bedcb5ee
3 changed files with 24 additions and 0 deletions

View File

@ -32,6 +32,11 @@ $form->field(class: \itguild\forms\inputs\TextInput::class, name: "email", param
->setLabel("Email")
->render();
$entityRelations = new \kernel\EntityRelation();
if (!isset($model)) {
$model = new User();
}
$entityRelations->renderEntityAdditionalPropertyFormBySlug("user", $model);
?>
<div class="row">
<div class="col-sm-2">