@extends('oxygen::layouts.master-dashboard') @section('breadcrumbs') {{ lotus()->breadcrumbs([ ['Dashboard', route('dashboard')], [$pageTitle, null, true] ]) }} @stop @section('pageMainActions') @include('oxygen::dashboard.partials.searchField') Add New Setting Add New Setting Group @stop @section('content') @include('oxygen::dashboard.partials.table-allItems', [ 'tableHeader' => [ 'Key', 'Value', 'Data Type', 'Description', 'Group', 'Actions' ] ]) @foreach ($allItems as $item) @if ($item->is_value_editable) {{ $item->setting_key }} @else {{ $item->setting_key }} @endif {{ substr($item->setting_value, 0, 100) }} {{ strtoupper($item->setting_data_type) }} {{ $item->description }} @if ($item->group) {{ $item->group->name }} @endif @if ($item->is_value_editable) Edit @if ($item->is_key_editable)
{{ method_field('delete') }} {{ csrf_field() }}
@endif @else LOCKED @endif @endforeach @stop