Update form in Profile\Mod page
This commit is contained in:
parent
5de4b88f1a
commit
c15e89a2d2
1 changed files with 2 additions and 1 deletions
|
@ -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'],
|
||||
|
|
Loading…
Reference in a new issue