@extends('back.layouts.layout') @section('title','Edit News') @section('content-header') Edit News Dashboard News Edit News @endsection @section('content') @csrf @method('put') Title * @if ($errors->has('title')){{ $errors->first('title') }}@endif Description {{ (!empty(old('description'))) ? old('description') : $news->description }} @if ($errors->has('description')){{ $errors->first('description') }}@endif Excerpt {{ (!empty(old('excerpt'))) ? old('excerpt') : $product->excerpt }} @if ($errors->has('excerpt')){{ $errors->first('excerpt') }}@endif Image @if($news->image!="") @endif @if ($errors->has('image')){{ $errors->first('image') }} @endif Status @foreach($statuses as $key=> $status) status) selected @endif>{{ $status }} @endforeach @if ($errors->has('status')){{ $errors->first('status') }} @endif Publish Save News List @endsection