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