@extends('back.layouts.layout') @section('title','Add Content') @section('content-header') Add Content Dashboard Content Add Content @endsection @section('content') @csrf @method('post') Name * @if ($errors->has('name')){{ $errors->first('name') }}@endif Type @foreach($content_types as $key=> $content_type) {{ $content_type }} @endforeach @if ($errors->has('content_type')){{ $errors->first('content_type') }} @endif Text {{ old('text') }} @if ($errors->has('text')){{ $errors->first('text') }}@endif Link @if ($errors->has('link')){{ $errors->first('link') }}@endif Btn Text @if ($errors->has('btn_text')){{ $errors->first('btn_text') }}@endif Image @if ($errors->has('image')){{ $errors->first('image') }} @endif Status @foreach($statuses as $key=> $status) {{ $status }} @endforeach @if ($errors->has('status')){{ $errors->first('status') }} @endif Publish Save Content List @endsection