@extends('company.layouts.main') @section('content')
Edit Job Survey Question
Back
@if(Session::has('success'))
{{ Session::get('success') }}
@endif @csrf
Question
*
@error('question_text')
{{$message}}
@enderror
Question Types
*
Select Question Type
question_type=='MCQ' ? 'selected' : null}}>Multiple Choice
question_type=='descriptive' ? 'selected' : null}}>Descriptive
question_type=='RADIO' ? 'selected' : null}}>Radio
@error('question_type')
{{$message}}
@enderror
@if($surveyQuestion->question_type !== "descriptive")
@foreach($surveyQuestionOptions as $surveyQuestionOption)
Option
Delete
@endforeach
Add More
@endif
Update
@section('script') $('.summernote').summernote({ height: 100, toolbar: [ ['style', ['bold', 'italic', 'underline', 'clear']], ['para', ['ul', 'ol']], ], disableDragAndDrop: true, }); @endsection @endsection