admin users menu
This commit is contained in:
parent
b079c3ae5a
commit
a067f4f555
|
|
@ -53,16 +53,16 @@ class SectionCrudController extends CrudController
|
|||
// ['name'=>'description_ru','type'=>'text','label'=>'Description Ru'],
|
||||
// ['name'=>'description_tk','type'=>'text','label'=>'Description Tk'],
|
||||
['name' => 'venue_id', 'type'=>'select','entity'=>'venue','attribute'=>'venue_name_ru','label'=>'Venue'],
|
||||
[ // image
|
||||
'label' => "Section Image",
|
||||
'name' => "section_image",
|
||||
'type' => 'image',
|
||||
'upload' => true,
|
||||
// 'crop' => true, // set to true to allow cropping, false to disable
|
||||
// 'aspect_ratio' => 1, // ommit or set to 0 to allow any aspect ratio
|
||||
// 'disk' => 's3_bucket', // in case you need to show images from a different disk
|
||||
'prefix' => 'user_content/' // in case your db value is only the file name (no path), you can use this to prepend your path to the image src (in HTML), before it's shown to the user;
|
||||
],
|
||||
// [ // image
|
||||
// 'label' => "Section Image",
|
||||
// 'name' => "section_image",
|
||||
// 'type' => 'image',
|
||||
// 'upload' => true,
|
||||
//// 'crop' => true, // set to true to allow cropping, false to disable
|
||||
//// 'aspect_ratio' => 1, // ommit or set to 0 to allow any aspect ratio
|
||||
// // 'disk' => 's3_bucket', // in case you need to show images from a different disk
|
||||
// 'prefix' => 'user_content/' // in case your db value is only the file name (no path), you can use this to prepend your path to the image src (in HTML), before it's shown to the user;
|
||||
// ],
|
||||
['name'=>'seats','type'=>'table','label'=>'Seats',
|
||||
'columns' => [
|
||||
'row' => 'Row',
|
||||
|
|
|
|||
Loading…
Reference in New Issue