# |
{{ __lang('question') }} |
{{ __lang('options') }} |
{{ __lang('sort-order') }} |
{{__lang('actions')}} |
@php $number = 1 + (30 * ($page-1)); @endphp
@php foreach($paginator as $row): @endphp
{{ $number }} @php $number++ @endphp |
{!! $row->question !!} |
{{ $optionTable->getTotalOptions($row->id) }} |
{{ $row->sort_order }} |
|
@php endforeach; @endphp
@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'=>'test',
'action'=>'questions',
'id'=>$id
)
);
@endphp