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

Submit a Task Result

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