@extends('admin.layout') @section('header') @endsection @section('content')
{{ '编辑' . $model_name }}
{{ csrf_field() }}
@if($errors->has('title')) {{ $errors->first('title') }} @endif
@if($type != 3)
@if($errors->has('title')) {{ $errors->first('title') }} @endif
@else
@if($errors->has('content')) {{ $errors->first('content') }} @endif
{!! widget('Tools.ImgUpload')->single('video-cover', 'data[pic_url]', $item->pic_url) !!}
@if($errors->has('pic_url')) {{ $errors->first('pic_url') }} @endif
@endif
@if($errors->has('sort')) {{ $errors->first('sort') }} @endif
@endsection @section('footer') @endsection