@extends('backEnd.master') @section('title') @lang('common.news') @endsection @push('css') @endpush @section('mainContent') @lang('common.news_list') @lang('common.dashboard') @lang('common.news') @lang('common.news_list') @lang('common.select_criteria') {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'user-news-search', 'method' => 'GET']) }} {{-- --}} @lang('common.select_news_category') @foreach($news_categories as $category) id? 'selected':''):''}}>{{@$category->title}} @endforeach @if ($errors->has('news_category_id')) {{ @$errors->first('news_category_id') }} @endif {{-- --}} @lang('common.search') {{ Form::close() }} @lang('common.news_list') {{-- @forelse ($news_items as $nws) {{ $nws->newsCategory->title }} {{ @$nws->title }} Publish Date : {{ @$nws->publish_date }} {!! Str::limit(@$nws->description, 60, '...') !!} @empty @lang('common.no_data_found') @endforelse --}} @forelse ($news_items as $nws) {{ $nws->newsCategory->title }} {!! Str::limit($nws->title, 55, '...') !!} Publish Date: {{ $nws->publish_date }} @empty @lang('common.no_data_found') @endforelse {{ $news_items->links() }} @endsection @include('backEnd.partials.data_table_js') @include('backEnd.partials.date_picker_css_js')
Publish Date : {{ @$nws->publish_date }}
{!! Str::limit(@$nws->description, 60, '...') !!}
Publish Date: {{ $nws->publish_date }}