@extends('backend.admin_backend.admin_dashboard') @section('admin')

Student CSV Preview

@if(count($errors))
@endif
@foreach($validatedRows as $row) @endforeach
Name Username Class ID Gender
{{ $row['full_name'] }} {{ $row['username'] }} {{ $row['class_id'] }} {{ $row['gender'] }}
@if(count($errors) === 0 && count($validatedRows) > 0)
@csrf
@else
Fix CSV errors before saving.
@endif
@endsection