@extends('Admin.components.layout') @section('title') Normal Test @endsection @section('subtitle') Edit Normal Test @endsection @section('content')
@if ($errors->any())
{!! implode('', $errors->all('
:message
')) !!}
@endif
{{ csrf_field() }}
Question in English
Question in Second Language
Placeholder Title in English
{{-- {{$question->is_date}} --}}
is_date == 1 ? 'checked' : '' }}>
Date To Show
Question Type
Choose any one
{{--
question_type == 'checkbox' ? 'selected' : '' }}>Checkbox
--}}
question_type == 'number' ? 'selected' : '' }}>Number
question_type == 'single' ? 'selected' : '' }}>Single Selection
question_type == 'multiple' ? 'selected' : '' }}>Multiple Selection
@if ($question->question_type == 'number')
@endif
@if ( $question->question_type == 'checkbox' || $question->question_type == 'single' || $question->question_type == 'multiple') @foreach ($qus_option as $key => $value)
Add Option
@if ($key == 0)
Option
SubOption
@else
Option
SubOption
@endif
@foreach ($qus_sub_option as $sub)
Add Sub Option
Sub Option Type
Choose any one
sub_option_type === 'text' ? 'selected' : '' }} value="text">Text
Sub Option
@endforeach
@endforeach @endif
Update
Add Option
Option
SubOption
Add Sub Option
Sub Option Type
Choose any one
Text
Sub Option
@endsection @section('js') @endsection