@include('game::game.partial.header')
@include('game::game.partial.aside')
{{$game->title}}

{!! $game['name'] !!}

{!! $game['slug'] !!}

{!! $game['thumbnail'] !!}

{!! $game['description'] !!}

{!! $game['images'] !!}

{!! $game['status'] !!}

{!! $game['featured'] !!}

{!! $game['game_path'] !!}

{!! $game['play_count'] !!}

{!! $game['category_id'] !!}

{!! $game['user_id'] !!}

{!! $game['user_type'] !!}
{!! Form::text('name') -> label(trans('game::game.label.name')) -> required() -> placeholder(trans('game::game.placeholder.name'))!!}
{!! Form::text('slug') -> label(trans('game::game.label.slug')) -> required() -> placeholder(trans('game::game.placeholder.slug'))!!}
{!! $game->files('image') ->url($game->getUploadUrl('image')) ->mime(config('filer.image_extensions')) ->dropzone()!!}
{!! $game->files('image') ->editor()!!}
{!! Form::textarea('description') -> label(trans('game::game.label.description')) -> dataUpload(trans_url($game->getUploadURL('description'))) -> addClass('html-editor') -> placeholder(trans('game::game.placeholder.description'))!!}
{!! $game->files('images', 10) ->mime(config('filer.image_extensions')) ->url($game->getUploadUrl('images')) ->dropzone()!!}
{!! $game->files('images') ->editor()!!}
{!! Form::inline_checkboxes('status[]') -> checkboxes(trans('game::game.options.status')) -> required() -> label(trans('game::game.label.status'))!!}
{!! Form::inline_checkboxes('featured[]') -> checkboxes(trans('game::game.options.featured')) -> label(trans('game::game.label.featured'))!!}
{!! Form::text('game_path') -> label(trans('game::game.label.game_path')) -> placeholder(trans('game::game.placeholder.game_path'))!!}
{!! Form::numeric('play_count') -> label(trans('game::game.label.play_count')) -> placeholder(trans('game::game.placeholder.play_count'))!!}
{!! Form::select('category_id') -> fromQuery(\Game\Game\Models\Game::all(), 'name', 'id') -> label(trans('game::game.label.category_id')) -> required() -> placeholder(trans('game::game.placeholder.category_id'))!!}