@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")

{{__("Service General Question")}}

{{__("All Service General Question")}}

@endsection @section("content") @include("includes.dialog")
{{-- --}} @foreach($questions as $question) {{-- --}} @endforeach
{{__("ID")}}{{__("Serial Number")}} {{__("Text")}} {{__("Control")}}
{{$question->id}}{{$serial_number++}} {{$question->text}} @if($question->has_form) id)}}" class="btn btn-primary"> {{__("Control Form")}} @endif id)}}" class="btn btn-success edit"> {{__("Edit")}}
id)}}" method="post" id="delete{{$question->id}}" style="display: none" data-swal-title="{{__("Delete Question")}}" data-swal-text="{{__("Are You Sure To Delete This Question ?")}}" data-yes="{{__("Yes")}}" data-no="{{__("No")}}" data-success-msg="{{__("the question has been deleted successfully")}}">@csrf @method("delete")
{{__("Delete")}}
@endsection @section("scripts") @endsection