Formatting fixes and cleanup.
This commit is contained in:
parent
a1e14a3e60
commit
51fb71e469
41 changed files with 394 additions and 392 deletions
|
|
@ -7,7 +7,7 @@ use App\Http\Livewire\Form\CardForm;
|
|||
|
||||
class CardController extends BaseController
|
||||
{
|
||||
protected $_datatable = [
|
||||
protected $_datatable = [
|
||||
'model' => Card::class,
|
||||
'default_sort' => 'id',
|
||||
'route_create' => 'admin.card.create',
|
||||
|
|
@ -16,21 +16,21 @@ class CardController extends BaseController
|
|||
'restore_enabled' => true,
|
||||
'columns' => [
|
||||
'id' => '#',
|
||||
'body' => 'Body',
|
||||
'subject' => 'Subject',
|
||||
'subject_type' => 'Subject Type',
|
||||
'body' => 'Body',
|
||||
'subject' => 'Subject',
|
||||
'subject_type' => 'Subject Type',
|
||||
'raid.name' => 'Raid',
|
||||
],
|
||||
'sort_columns' => [
|
||||
'id' => 'id',
|
||||
'body' => 'body',
|
||||
'body' => 'body',
|
||||
'subject' => ['character.name', 'class', 'role'],
|
||||
'raid.name' => 'raid.name',
|
||||
]
|
||||
];
|
||||
|
||||
static public function getForm() : string
|
||||
{
|
||||
return CardForm::class;
|
||||
}
|
||||
static public function getForm(): string
|
||||
{
|
||||
return CardForm::class;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue