@extends('layouts.admin') @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard'), '#'=>__('default.articles') ]]) @endsection @section('search-form')
@endsection @section('pageTitle',__('default.articles')) @section('innerTitle') {{ __('default.manage-articles') }} ({{ $articles->count() }}) @if(Request::get('search')) : {{ Request::get('search') }} @endif @endsection @section('content')
@can('access','view_articles') @lang('default.add-new') @endcan

@foreach($articles as $item) @endforeach
#@lang('default.title')@lang('default.slug') @lang('default.enabled') {{ __lang('mobile') }} @lang('default.actions')
{{ $loop->iteration + ( (Request::get('page',1)-1) *$perPage) }} {{ $item->title }}{{ $item->slug }} {{ $item->enabled==1? __('default.enabled'):__('default.disabled') }} {{ boolToString($item->mobile) }}
{{ method_field('DELETE') }} {{ csrf_field() }}
{!! clean( $articles->appends(['search' => Request::get('search')])->render() ) !!}
@endsection