@extends('layouts.vertical', ["page_title"=> "Add & Edit Products"]) @section('css') @endsection @section('content')

{{!$edit ? 'Add New Question':'Edit Question' }}

@if(session()->has('message'))
{{ session()->get('message') }}
@endif
@csrf

Options

@if($edit) @foreach($question->options as $option) @endforeach @else @endif
Option Is Correct
is_correct?'checked':''}}>
@endsection @section('script') @endsection