@extends('layouts.layout') @section('title', 'All Question') @section('content')

All Survey Question Under Exam Category

@if(Session::has('success'))
Success : {{ Session::get('success') }}
@endif
All Question
Add New Question
@php $i = 1; @endphp @foreach($question as $qtion) @endforeach
#ID Survey Question Survey Category Action
{{ $i++ }} {{ $qtion->question}} @foreach($catall as $cat) @if($cat->id == $qtion->question_cat_name) {{ $cat->name }} @endif @endforeach View Edit {!! Form::open(['route'=>['question_delete',$qtion->id],'method'=>'DELETE']) !!} {!! Form::submit('Delete',['class'=>'btn btn-danger pull-right', 'onclick'=>'return confirm("Are You Sure..!");', 'style'=>'margin-top: -35px']) !!} {!! Form::close() !!}
{{ $question->links() }}
@endsection