mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
torrents list show seedbox icon
This commit is contained in:
@@ -44,7 +44,7 @@ class TagResource extends Resource
|
||||
Forms\Components\TextInput::make('margin')->required()->label(__('label.tag.margin')),
|
||||
Forms\Components\TextInput::make('padding')->required()->label(__('label.tag.padding')),
|
||||
Forms\Components\TextInput::make('border_radius')->required()->label(__('label.tag.border_radius')),
|
||||
Forms\Components\TextInput::make('priority')->integer()->label(__('label.priority')),
|
||||
Forms\Components\TextInput::make('priority')->integer()->required()->label(__('label.priority'))->default(0),
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -10,4 +10,8 @@ class CreateTag extends CreateRecord
|
||||
{
|
||||
protected static string $resource = TagResource::class;
|
||||
|
||||
protected function getRedirectUrl(): string
|
||||
{
|
||||
return $this->getResource()::getUrl('index');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user