@extends('../../master_layout/admin_master') @section('custom_css') @endsection @section('title') {{config('constants.APP_NAME')}} {{ ($edit)?'Edit':'Add' }} CMS @endsection @section('content')

{{ ($edit)?'Edit':'Add' }} CMS

@if(session('message'))
@if(session('message.type')=='danger')

Sorry! {!! session('message.text') !!}

@else

Success! {!! session('message.text') !!}

@endif
@endif
@csrf
@if ($errors->has('cms_title')) {{ $errors->first('cms_title') }} @endif
@if ($errors->has('cms_description')) {{ $errors->first('cms_description') }} @endif
@endsection @section('custom_js') @endsection