¨4.0.1¨
This commit is contained in:
@@ -17,6 +17,7 @@ class AttributeTabs extends Tabs
|
||||
->add($this->values());
|
||||
}
|
||||
|
||||
|
||||
private function general()
|
||||
{
|
||||
return tap(new Tab('general', trans('attribute::admin.tabs.general')), function (Tab $tab) {
|
||||
@@ -30,12 +31,14 @@ class AttributeTabs extends Tabs
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
private function getAttributeSets()
|
||||
{
|
||||
return AttributeSet::all()->sortBy('name')->pluck('name', 'id')
|
||||
->prepend(trans('admin::admin.form.please_select'), '');
|
||||
}
|
||||
|
||||
|
||||
private function values()
|
||||
{
|
||||
return tap(new Tab('values', trans('attribute::admin.tabs.values')), function (Tab $tab) {
|
||||
|
||||
Reference in New Issue
Block a user