@extends('student/fluttercourse/home') @section('content')
{{ Form::model($entity,['route'=>['results.update',$entity['id']], 'files'=>true,'method'=>'PUT']) }}

Change Data of Task Result

@if(!empty($errors->all()))
{{ Html::ul($errors->all())}}
@endif
{{ Form::label('status', 'Status: ') }}
{{ Form::radio('status', 'Passed' , $entity['status']=='Passed') }} Passed    {{ Form::radio('status', 'Failed' , $entity['status']=='Failed') }} Failed
{{ Form::label('duration', 'Duration') }} {{ Form::number('duration', $entity['duration'], ['class'=>'form-control', 'placeholder'=>'Duration Time in Minutes']) }}
{{ Form::label('image', 'Captured Image of Evidence (jpg,png). Left it blank if does not change') }} {{ Form::file('image', ['class'=>'form-control']) }}
{{ Form::label('comment', 'Task Comment') }} {{ Form::textarea('comment', $entity['comment'], ['class'=>'form-control', 'placeholder'=>'Task Comment', 'rows'=>5]) }}
{{ Form::close() }}
@endsection