{{ 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'=>'subjectClass', 'ng-model'=>'course_subject_id', 'required'=> 'true', 'multiple'=>'multiple', 'ui-select2'=>"selectMoreOptions" , ///'ng-change'=>'changeClass(course_subject_id)', 'ng-class'=>'{"has-error": formQuiz.course_subject_id.$touched && formQuiz.course_subject_id.$invalid}' ])}}
{{ 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