@extends('layout.template') @section('css') @endsection @section('isi')

Ujian

Ujian

@csrf
@php $no = 1; @endphp @foreach ($soal as $item)
@if ($item->bentuk == \App\Models\Soal::PG)

Skor = {{ $item->skor }}

@endif
{{ $no }}). @if ($item->file != null)
Gambar Soal

@endif {!! $item->soal !!}


Jawaban :
@if ($item->bentuk == \App\Models\Soal::KL) @else @php $jawaban = \App\Models\Jawaban::where('id_soal', $item->id)->get(); $abjad = range('A','Z'); $no = 0; @endphp @foreach ($jawaban as $items)
@php $no++ @endphp @endforeach @endif
@php $no++; @endphp @endforeach {{-- --}}
@endsection @section('modal') @endsection @section('js') @endsection