@extends('layouts.admin') @section('page-title','') @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard'), route('admin.survey.index')=>__lang('surveys'), '#'=>isset($pageTitle)?$pageTitle:'' ]]) @endsection @section('content')
   
@php $number = 1 + (30 * ($page-1)); @endphp @php foreach($paginator as $row): @endphp @php $number++ @endphp @php endforeach; @endphp
# {{ __lang('question') }} {{ __lang('options') }} {{ __lang('sort-order') }} {{__lang('actions')}}
{{ $number }}{!! clean($row->question) !!} {{ $optionTable->getTotalOptions($row->id) }} {{ $row->sort_order }}
@php // add at the end of the file after the table echo paginationControl( // the paginator object $paginator, // the scrolling style 'sliding', // the partial to use to render the control null, // the route to link to when a user clicks a control link array( 'route' => 'admin/default', 'controller'=>'survey', 'action'=>'questions', 'id'=>$id ) ); @endphp
@endsection @section('header') @endsection @section('footer') @endsection