@extends('admin.app_main') @section('content')
Edit News
@if (session('error'))
{{ session('error') }}
@endif
{{ csrf_field() }}
@if ($errors->has('subject')) {{ $errors->first('subject') }} @endif
@if ($errors->has('content')) {{ $errors->first('content') }} @endif
@if(Auth::user()->hasRole('Administrator') || Auth::user()->hasRole('news_editor'))
Publish
Cancel
@endif
@endsection @section('javascript') $(document).ready( function() { $("#content").summernote(); }); @endsection