@if (session()->has('message'))
{{ session('message') }}
@endif
@error('published') {{ $message }} @enderror
@error('title') {{ $message }} @enderror
@error('url_title') {{ $message }} @enderror
@error('discount') {{ $message }} @enderror
@if($questions && count($questions) > 0) @foreach ($questions as $key => $question)
{{-- --}}

Question

{!!$question->question!!}
@if($question->type_id && $question->type->slug == 'input')
@endif
@if($question->id) @livewire('formulars.partials.answers-options', ['key'=> $key, 'type_id' => $question->type_id, 'question_id' => $question->id], key("question_answer_$key"."_$question->type_id")) @else @livewire('formulars.partials.answers-options', ['key'=> $key, 'type_id' => $question->type_id], key("question_answer_$key"."_$question->type_id")) @endif
@endforeach @endif
{{-- custom dropdown --}}
{{-- end custom dropdown --}} {{-- modal for hyperlink --}} @push('modals') @endpush @push('scripts') @endpush