@extends('layouts.backend') @section('title', '文章管理') @section('header')

文章管理

@endsection @section('content')
@include('backend.alert.success')
   
  @inject('categoryPresenter', 'App\Presenters\CategoryPresenter') {!! $categoryPresenter->getSelect(0, '请选择', '') !!}
@if ($articles) @inject('articlePresenter', 'App\Presenters\ArticlePresenter') @foreach($articles as $article) @endforeach @endif
序号 作者 标题 阅读数 评论数 分类 时间 操作
{{ $line }} @if($article->user) {{ $article->user->name }} @endif {{ $articlePresenter->formatTitle($article->title) }} {{ $article->read_count }} {{ $article->comment_count }} @if($article->category) {{ $article->category->name }} @endif {{ $article->created_at }} 修改 删除
@endsection @section('javascript') @endsection