@extends('layouts.admin') @section('title') Admin | Settings @endsection @section('content')

Settings

@if(!empty($setting))
Update Setting
@if(!empty($setting))
$setting->id])}}" method="POST" enctype="multipart/form-data"> @endif {{ csrf_field() }} @if(!empty($setting)) @method('PUT') @endif
@if ($errors->has('key')) {{ $errors->first('key') }} @endif
@if ($errors->has('value')) {{ $errors->first('value') }} @endif
@endif
Setting Lists
@if(Session::has('success'))
{{ Session::get('success') }}
@endif @if(Session::has('error'))
{{ Session::get('error') }}
@endif @foreach($settings as $setting) @endforeach @if(count($settings) <=0) @endif
Key Value Action
{{$setting->key}} {{$setting->value ?? ''}}
No data available
{{ $settings->links('pagination::bootstrap-4') }}
@endsection @section('scripts')