@if (Session::has('message'))
�
{{ Session::get('message') }}
@endif
@if (!empty($itemsstage))
{{ Form::open(['method' => 'GET']) }}
{{ Form::open(['method' => 'GET']) }}
{{ Form::close() }}
@php ($complete = true)
{{ Form::open(['route'=>'exercisesubmission.store', 'files'=>true]) }}
{!! Form::label('titw2', 'Assignment Answer Submission') !!}
{{ Form::radio('option', 'github' , $option=='github', ['onchange' => 'this.form.submit();']) }}
{!! Form::label('tit55', "by GitHub Link: ") !!}
@if (($completed=='0') && ($option=='github'))
The link must be PUBLIC access. Format : https://github.com/{{ '' }}/project-name
{{ Form::text('githublink','https://github.com/', ['class'=>'form-control']) }}
{{ Form::label('duration', 'Duration (Minutes)') }}
{{ Form::number('duration', '0', ['class'=>'form-control', 'placeholder'=>'Duration Time in Minutes']) }}
{{ Form::label('comment', 'Exercise Comment') }}
{{ Form::textarea('comment', '', ['class'=>'form-control', 'placeholder'=>'Task Comment', 'rows'=>5]) }}
@else
@endif
{{ Form::radio('option', 'zipfile' , $option=='zipfile', ['onchange' => 'this.form.submit();']) }}
{!! Form::label('tit55', "by Zip File of Android Project Folder: ") !!}
@if (($completed=='0') && ($option=='zipfile'))
File must have ZIP extension (*.zip), don't submit RAR file.
{{ Form::file('zipfile', ['class'=>'form-control']) }}
{{ Form::label('duration', 'Duration (Minutes)') }}
{{ Form::number('duration', '0', ['class'=>'form-control', 'placeholder'=>'Duration Time in Minutes']) }}
{{ Form::label('comment', 'Exercise Comment') }}
{{ Form::textarea('comment', '', ['class'=>'form-control', 'placeholder'=>'Task Comment', 'rows'=>5]) }}
@else
@endif
@if (!@$completed)
{{ Form::submit('Submit this Exercise', ['class' => 'btn btn-danger', 'name' => 'submitbutton']) }}
You haven't submitted an answer for {{$topic[0]['name']}}
@else
You have submitted an answer for {{$topic[0]['name']}}
@endif
{{ Form::close() }}
@else
Exercise is not available at this time
@endif