{{ Form::label('title', getphrase('name')) }} * {{ Form::text('title', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => getPhrase('title'), 'ng-model'=>'title', 'required'=> 'true', 'ng-class'=>'{"has-error": formQuiz.title.$touched && formQuiz.title.$invalid}', )) }}
{!! getValidationMessage()!!}
{{ Form::label('subject_id', getphrase('subject')) }} * {{Form::select('subject_id', $subjects, null, [ 'class'=>'form-control', 'placeholder'=>'Select', 'id'=>'subject', 'ng-model'=>'subject_id', 'required'=> 'true', 'ng-change'=>'changeSubject(subject_id)', 'ng-class'=>'{"has-error": formQuiz.subject_id.$touched && formQuiz.subject_id.$invalid}' ])}}
{!! getValidationMessage()!!}
{{ Form::label('course_subject_id', getphrase('class')) }} * {{Form::select('course_subject_id', $classes, null, [ 'class'=>'form-control', 'placeholder'=>'Select', 'id'=>'subject', 'ng-model'=>'course_subject_id', 'required'=> 'true', 'ng-change'=>'changeClass(course_subject_id)', 'ng-class'=>'{"has-error": formQuiz.course_subject_id.$touched && formQuiz.course_subject_id.$invalid}' ])}}
{!! getValidationMessage()!!}
*
{{ Form::label('type', getphrase('allocation_type')) }} * {{Form::select('type', $types, null, [ 'class'=>'form-control', 'placeholder'=>'Select', 'id'=>'subject', 'ng-model'=>'type', 'required'=> 'true', 'ng-change'=>'getStudents(type)', 'ng-class'=>'{"has-error": formQuiz.type.$touched && formQuiz.type.$invalid}' ])}}
{!! getValidationMessage()!!}
{{getPhrase('S.No')}} {{getPhrase('roll_no')}} {{getPhrase('student_name')}} {{getPhrase('select')}}
@{{$index+1}} @{{student.user.roll_no}} @{{student.user.name}}
{{ Form::label('deadline', getphrase('deadline')) }} *
{{ Form::text('deadline', $value = date('Y/m/d') , $attributes = array( 'class' =>'form-control', 'placeholder' => '2015/7/17', 'id' =>'dp', 'ng-model'=>'deadline', 'required'=> 'true', 'ng-class'=>'{"has-error": formQuiz.deadline.$touched && formQuiz.deadline.$invalid}' )) }}
{!! getValidationMessage()!!}
{{ Form::label('category', getphrase('file')) }}
@if($record)

{{$record->file_name}}

@endif
{{ Form::label('description', getphrase('description')) }} {{ Form::textarea('description', $value = null , $attributes = array('class'=>'form-control', 'rows'=>'5', 'placeholder' => 'Description','id'=>'description')) }}
@if(!$uploaded)
@endif