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

{{ $page_info['title'] }}

@include('cms.components.alert', ['with' => 'status', 'class' => 'success'])
@csrf @method('put') {{-- 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']) {{-- Balls --}} @include('cms.components.inputs.text', ['label' => 'Balls', 'name' => 'balls', 'value' => $row->balls ? implode(" ", $row->balls) : '', 'text' => 'Add balls with space seperated.']) {{-- Result --}}
Winning Numbers Total Prizes (IQD) No. Of Winning Grids Prize Per Grid (IQD)
@if($errors->has('total_prizes.*')) {{ $errors->first('total_prizes.*') }} @endif @if($errors->has('number_winning_grids.*')) {{ $errors->first('number_winning_grids.*') }} @endif @if($errors->has('prize_per_grid.*')) {{ $errors->first('prize_per_grid.*') }} @endif {{-- Youtube --}} @include('cms.components.inputs.text', ['label' => 'Youtube', 'name' => 'youtube']) {{-- Image --}} @include('cms.components.inputs.image', ['label' => 'Image', 'asterix' => false, 'name' => 'image']) {{-- Next Loto Jackpot --}} @include('cms.components.inputs.number', ['label' => 'Next Loto Jackpot', 'asterix' => true, 'name' => 'next_loto_jackpot'])
@include('cms.layouts.footers.auth')
@endsection @push('script') @endpush