Changes
This commit is contained in:
@@ -114,7 +114,10 @@ class UserDetailForm
|
||||
Forms\Components\TextInput::make('item')->label('')->string()->required()
|
||||
])->label('Участие в научных проектах')->defaultItems(0),
|
||||
Forms\Components\Repeater::make('publications')->schema([
|
||||
Forms\Components\TextInput::make('item')->label('')->string()->required()
|
||||
Forms\Components\TextInput::make('category_publication')->label('Категория публикаций')->string()->required(),
|
||||
Forms\Components\Repeater::make('publication')->schema([
|
||||
Forms\Components\TextInput::make('item')->label('')->string()->required()
|
||||
])->label('Публикации')->collapsed(),
|
||||
])->label('Публикации')->defaultItems(0),
|
||||
]),
|
||||
Tabs\Tab::make('Другое')
|
||||
|
||||
@@ -17,6 +17,9 @@ class UserDetailRelationManager extends RelationManager
|
||||
{
|
||||
protected static string $relationship = 'userDetail';
|
||||
|
||||
protected static ?string $title = 'Детальная информация';
|
||||
|
||||
|
||||
protected static ?string $inverseRelationship = 'user';
|
||||
|
||||
public function form(Form $form): Form
|
||||
|
||||
Reference in New Issue
Block a user