@extends('layouts.admin-page') @section('search-form',url('/admin/test-questions')) @section('pageTitle',__('site.questions').': '.$test->name) @section('page-title',__('site.questions').': '.$test->name) @section('breadcrumb') @include('partials.breadcrumb',['crumbs'=>[ [ 'link'=> route('admin.tests.index'), 'page'=>__('site.tests') ], [ 'link'=>'#', 'page'=>__('site.manage-questions') ] ]]) @endsection @section('page-content')
@can('access','view_tests') @endcan @lang('site.add-new')

@foreach($testquestions as $item) @endforeach
# @lang('site.question') @lang('site.options') @lang('site.sort-order') @lang('site.actions')
{{ $loop->iteration + ( (Request::get('page',1)-1) *$perPage) }} {!! clean( $item->question ) !!} {{ $item->testOptions()->count() }} {{ $item->sort_order }}
{{ method_field('DELETE') }} {{ csrf_field() }}
{!! clean( $testquestions->appends(request()->input())->render() ) !!}
@endsection