@form_hidden('quizz_type_id', $type)
{!! Form::label('question', trans('lang.question'), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::text('question', null, [ 'class' => 'form-control', 'placeholder' => trans('lang.question_placeholder'), 'required' => 'required', ]) !!}
{!! Form::label('lang', trans('lang.lang'), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('lang', ['fr'=>'fr', 'en'=>'en'], null, [ 'placeholder' => 'Please select Lang', 'class' => 'select2 form-control', 'id' => 'lang', ]) !!}
{!! Form::label('status', trans('lang.status'), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::label('quiz_type', trans('lang.quiz_type'), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('quizz_type_id', $types, $type, [ 'placeholder' => 'Please select Type', 'class' => 'select2 form-control', 'disabled', 'id' => 'quiz-type', ]) !!}
{!! Form::label('role_type', trans('lang.role_type'), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('role_id', $roles, null, [ 'placeholder' => 'Please select Type', 'class' => 'select2 form-control', 'id' => 'role-type', ]) !!}
{!! Form::label('order', trans('lang.order'), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('order', null, [ 'class' => 'form-control', 'placeholder' => trans('lang.order_placeholder'), 'min' => '0', 'required' => 'required', ]) !!}
@if ($type == 1) @include('quizzes.question.table') @else @include('quizzes.slide.table') @endif
{{ trans('lang.cancel') }}