@extends('admin.layout.app') @section('content') Footer Content Footer Content @include('admin.layout.session') Footer Content Back @if(empty($footer_content)) @csrf @else @csrf @method('PUT') @endif Column One: {!! empty($footer_content) ? old('first_col_content') : $footer_content->first_col_content !!} @if ($errors->has('first_col_content')) {{ $errors->first('first_col_content') }} @endif first_col_status == '1' ? 'checked' : '' : 'checked' }}> Active first_col_status == '0' ? 'checked' : '' : '' }}> Deactive @if ($errors->has('first_col_status')) {{ $errors->first('first_col_status') }} @endif Column Two: {!! empty($footer_content) ? old('second_col_content') : $footer_content->second_col_content !!} @if ($errors->has('second_col_content')) {{ $errors->first('second_col_content') }} @endif second_col_status == '1' ? 'checked' : '' : 'checked' }}> Active second_col_status == '0' ? 'checked' : '' : '' }}> Deactive @if ($errors->has('second_col_status')) {{ $errors->first('second_col_status') }} @endif Column Tree: {!! empty($footer_content) ? old('third_col_content') : $footer_content->third_col_content !!} @if ($errors->has('third_col_content')) {{ $errors->first('third_col_content') }} @endif third_col_status == '1' ? 'checked' : '' : 'checked' }}> Active third_col_status == '0' ? 'checked' : '' : '' }}> Deactive @if ($errors->has('third_col_status')) {{ $errors->first('third_col_status') }} @endif Column Four: {!! empty($footer_content) ? old('four_col_content') : $footer_content->four_col_content !!} @if ($errors->has('four_col_content')) {{ $errors->first('four_col_content') }} @endif four_col_status == '1' ? 'checked' : '' : 'checked' }}> Active four_col_status == '0' ? 'checked' : '' : '' }}> Deactive @if ($errors->has('four_col_status')) {{ $errors->first('four_col_status') }} @endif Submit Back @endsection @push('js') @endpush