@extends('layouts.app') @section('title', __('master.list')) @section('content')
@can('create', new fullMstr) {{ link_to_route('masters.create', __('master.create'), [], ['class' => 'btn btn-success']) }} @endcan

{{ __('master.list') }} {{ __('app.total') }} : {{ $mstrCollections->total() }} {{ __('master.master') }}

{{ Form::open(['method' => 'get', 'class' => 'form-inline']) }} {!! FormField::text('q', ['label' => __('master.search'), 'placeholder' => __('master.search_text'), 'class' => 'mx-sm-2']) !!} {{ Form::submit(__('master.search'), ['class' => 'btn btn-secondary']) }} {{ link_to_route('masters.index', __('app.reset'), [], ['class' => 'btn btn-link']) }} {{ Form::close() }}
@foreach($mstrCollections as $key => $singleMstr) @endforeach
{{ __('app.table_no') }} {{ __('master.title') }} {{ __('master.description') }} {{ __('app.action') }}
{{ $mstrCollections->firstItem() + $key }} {{ $singleMstr->title_link }} {{ $singleMstr->description }} @can('view', $singleMstr) {{ link_to_route( 'masters.show', __('app.show'), [$singleMstr], ['id' => 'show-master-' . $singleMstr->id] ) }} @endcan
{{ $mstrCollections->appends(Request::except('page'))->render() }}
@endsection