Skip to content

Commit 504915c

Browse files
authored
support for pagination in view
1 parent ab2eb34 commit 504915c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

resources/views/usersmanagement/show-users.blade.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
<div style="display: flex; justify-content: space-between; align-items: center;">
3535

36-
Showing All Users
36+
Showing users
3737

3838
<div class="btn-group pull-right btn-group-xs">
3939

@@ -132,6 +132,8 @@
132132
@endforeach
133133
</tbody>
134134
</table>
135+
136+
{{ $users->links() }}
135137
</div>
136138
</div>
137139
</div>
@@ -145,12 +147,9 @@
145147

146148
@section('footer_scripts')
147149

148-
@if (count($users) > 10)
149-
@include('scripts.datatables')
150-
@endif
151150
@include('scripts.delete-modal-script')
152151
@include('scripts.save-modal-script')
153152
{{--
154153
@include('scripts.tooltips')
155154
--}}
156-
@endsection
155+
@endsection

0 commit comments

Comments
 (0)