@extends('cms.layouts.main') @section('content') @include('cms.layouts.headers.partials', ['title' => 'Add Record'])

{{ $page_info['title'] }}

@csrf {{-- Image --}} @include('cms.components.inputs.image', ['label' => 'Image', 'asterix' => true, 'name' => 'image'])
{{-- Name --}} @include('cms.components.inputs.text', ['label' => 'Name', 'asterix' => true, 'name' => 'name', 'maxlength' => 255])
{{-- Name AR --}} @include('cms.components.inputs.text', ['label' => 'Name AR', 'asterix' => true, 'name' => 'name_ar', 'maxlength' => 255])
{{-- Name KU --}} @include('cms.components.inputs.text', ['label' => 'Name KU', 'asterix' => true, 'name' => 'name_ku', 'maxlength' => 255])
{{-- Prize --}} @include('cms.components.inputs.number', ['label' => 'Prize', 'asterix' => true, 'name' => 'prize']) {{-- Draw Number --}} @include('cms.components.inputs.select-single', ['label' => 'Draw Number', 'asterix' => true, 'name' => 'draw_id', 'placeholder' => 'Please select a Draw Number', 'rows' => $draws, 'attribute' => 'draw_number']) {{-- Rank --}} @include('cms.components.inputs.number', ['label' => 'Rank', 'asterix' => true, 'name' => 'rank']) {{-- Game --}} @include('cms.components.inputs.select-single', ['label' => 'Game', 'asterix' => true, 'name' => 'game_id', 'placeholder' => 'Please select a Game', 'rows' => $games, 'attribute' => 'title']) {{-- Point Of Sale --}} @include('cms.components.inputs.select-single', ['label' => 'Point of Sale', 'asterix' => true, 'name' => 'point_of_sale_id', 'placeholder' => 'Please select a POS', 'rows' => $point_of_sales, 'attribute' => 'title'])
@include('cms.layouts.footers.auth')
@endsection