@extends('admin.layout.layout') @section('content')

Edit Question

@csrf @method('PUT')
@foreach ($fitness_categories as $fitness_category)
fitnessCategoryQuestions->contains('fitness_category_id', $fitness_category->id)) checked @endif required>
@endforeach @error('fitness_category_id')
{{ $message }}
@enderror
@error('question_type_id')
{{ $message }}
@enderror
@error('question')
{{ $message }}
@enderror
{{-- Script to make at least one checkbox required --}} @endsection