@extends('layouts.load')

@section('content')

<div class="card shadow-none border-0 mb-0">
    <div class="card-body p-3">
        <div class="mb-3">
            <label class="form-label fw-bold">{{ __('Question') }}</label>
            <p>{{ $data->question}}</p>
        </div>

        <div class="mb-3">
            <label class="form-label fw-bold">{{ __('Poll Options') }}</label>
            @if (count($data->child)>0)
                @foreach ($data->child as $value)
                <div class="form-check mb-2">
                    <input type="radio" class="form-check-input" disabled>
                    <label class="form-check-label">{{$value->poll_option}}</label>
                </div>
                @endforeach
            @else
                <p class="text-danger">{{__('No Poll Create yet')}}</p>
            @endif
        </div>
    </div>
</div>

@endsection