Update form in Profile\Mod page

This commit is contained in:
Visman 2023-10-01 19:46:37 +07:00
parent 5de4b88f1a
commit c15e89a2d2

View file

@ -132,9 +132,10 @@ class Mod extends Profile
$fields = [];
$fields["name{$forum->id}"] = [
'class' => ['modforum', 'name', 'depth' . $forum->depth],
'type' => 'str',
'type' => 'label',
'value' => $forum->forum_name,
'caption' => 'Forum label',
'for' => "moderator[{$forum->id}]",
];
$fields["moderator[{$forum->id}]"] = [
'class' => ['modforum', 'moderator'],