Answer the question
In order to leave comments, you need to log in
Doesn't save data to Sleeping Owl database?
admin/User.php
<?php
Admin::model(App\User::class)->title('')->with()->filters(function ()
{
})->columns(function ()
{
Column::string('id', 'id');
Column::string('name', 'Имя');
Column::string('email', 'Email');
Column::string('role', 'роль');
})->form(function ()
{
FormItem::text('name', 'Name');
FormItem::text('role', 'Role');
FormItem::text('email', 'Email');
FormItem::password('password', 'Password');
FormItem::text('remember_token', 'Remember Token')->attributes(['class' => 'hidden']);
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question