first upload all files
This commit is contained in:
26
Modules/Tag/Table/TagTabs.php
Normal file
26
Modules/Tag/Table/TagTabs.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Tag\Table;
|
||||
|
||||
use Modules\Admin\Ui\Tab;
|
||||
use Modules\Admin\Ui\Tabs;
|
||||
|
||||
class TagTabs extends Tabs
|
||||
{
|
||||
public function make()
|
||||
{
|
||||
$this->group('tag_information', trans('tag::tags.tabs.group.tag_information'))
|
||||
->active()
|
||||
->add($this->general());
|
||||
}
|
||||
|
||||
private function general()
|
||||
{
|
||||
return tap(new Tab('general', trans('tag::tags.tabs.general')), function (Tab $tab) {
|
||||
$tab->active();
|
||||
$tab->weight(5);
|
||||
$tab->fields(['name']);
|
||||
$tab->view('tag::admin.tags.tabs.general');
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user