@if(Session::has('alert'))
@endif @if($student->advisor)
@lang('tr.Advisor'): {{$student->advisor->lang('name')}}, {{$student->advisor->email}}, {{$student->advisor->instructor->department->lang('name')}}.
@endif
{{-- , ['id'=>$questionnaireTask->id] --}} {{ csrf_field() }}
@php($count = 1) @php($answers = 0) @foreach($questionnaire->questions as $question)
{{$count}}. {{ $question->lang('question') }}
@php($required= ($question->required)?"required":"") @if($question->type==1) @php( $answer = $question->comment($questionnaireTask, $student) ) @php($answers += ($answer)?1:0) @else @php( $answer = $question->answer($questionnaireTask, $student) ) @php($answers += ($answer)?1:0)
@for($i=1;$i<=5;$i++) @php($checked = ($answer && $answer->answer==$i)?"checked":"" ) @php($answerText = $question->{"answer$i"} ) @if($answerText)
@endif @endfor
@endif
@php($count++) @endforeach @if(true)
@if($disabled == 'disabled')

{{ ($answers)?__('tr.Update'):__('tr.Submit') }}

@else @endif
@endif