{{ 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-class'=>'{"has-error": formQuiz.course_subject_id.$touched && formQuiz.course_subject_id.$invalid}' ])}}
{{ Form::label('study_mode', getphrase('study_mode')) }} * {{Form::select('study_mode', array('0'=>'All','1'=>'Youtube Video','2'=>'PDF','3'=>'Audio','4'=>'Youtube Video & PDF','5'=>'Youtube Video & Audio','6'=>'PDF & Audio' ), $mode, [ 'class'=>'form-control', 'id'=>'study_mode', 'ng-model'=>'study_mode', 'required'=> 'true', 'ng-class'=>'{"has-error": formQuiz.study_mode.$touched && formQuiz.study_mode.$invalid}' ])}}
{!! getValidationMessage()!!}
{{ Form::label('video_name', getphrase('youtube video url')) }} {{ Form::text('video_name', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => getPhrase('youtube video url'), 'ng-model'=>'video_name' )) }}
{!! getValidationMessage()!!}
Ex:https://www.youtube.com/watch?v=qX2Ib35VBdA
{{ Form::label('category', 'PDF File') }} Upload Only PDF File(file size should be less then 3MB...)
{{ Form::label('category', 'Audio File') }} Upload Only mp4,mp3,wav,mpga,mpeg Audio File(file size should be less then 3MB...)
{{ Form::label('description', getphrase('description')) }} * {{ Form::textarea('description', $value = null , $attributes = array('class'=>'form-control', 'rows'=>'5', 'placeholder' => 'Description','id'=>'description', 'ng-model'=>'description', 'required'=> 'true', 'ng-class'=>'{"has-error": formQuiz.description.$touched && formQuiz.description.$invalid}')) }}
@if(!$uploaded)
@endif