@extends('student/home') @section('script') @endsection @section('content')
{{ Form::open(['route'=>'uitasks.store', 'files'=>true]) }}

{{ $data['id'].'. '.$data['name'] }}

@if (Session::has('message'))
{{ Session::get('message') }}
@endif @if(!empty($errors->all()))
{{ Html::ul($errors->all())}}
@endif
@if($nextid > $data['id']) @else @endif @if (count($stdSubmit)=='0') {{ Form::submit('Submit', ['class' => 'float-right mx-1 btn btn-warning', 'style' => 'min-width: 150px; min-height: 45px;', 'onclick' => 'return submitbutton()'])}} @elseif ($stdSubmit[0]['checkstat']=='waiting') @elseif ($stdSubmit[0]['checkstat']=='PASSED') @else {{ Form::submit('Re-Submit', ['class' => 'float-right mx-1 btn btn-warning', 'style' => 'min-width: 150px; min-height: 45px;', 'onclick' => 'return submitbutton()'])}} @endif @if($previousid > $data['id'] || $previousid != 0) @else @endif

Result

(After Trying {{ $numberOfTries }} Times)

@foreach($entities as $entity) @if ($entity['checkstat'] == 'ERROR' || $entity['checkstat'] == 'FAILED') @elseif ($entity['checkstat'] == 'PASSED') @else @endif @endforeach
Submit No. Topic Name Validation Detail Status
{{ $entity['name'] }} {!! nl2br($entity['report']) !!} {{ $entity['checkstat'] }}
{{ Form::close() }}
@endsection