@extends('layouts.admin.app') @section('page_header') All {{ Str::plural('setting') }} @endsection @section('content')
@csrf
{{-- --}} @foreach ($settings as $group_name => $grouped_items) @php $index = 0; @endphp @foreach ($grouped_items as $key => $item) @if($index == 0) {{-- --}} @endif {{-- --}} {{-- --}} @php $index++; @endphp @endforeach @endforeach {{-- @foreach ($settings as $group_name => $grouped_items) @if($group_name == "") Empty Group @else {{$group_name}} @endif @endforeach --}} {{--
Title Value Description Group
Title Value Description Group
{{$group_name == "" ? "Default Settings" : $group_name}}
{{ $item->title ? $item->title : ucfirst(str_replace('_', ' ', $item->key)) }} @if ($item->json_params && json_decode($item->json_params)->type == 'dropdown') @else @endif {{ $item->description ? $item->description : '-' }}
--}} {{-- @foreach ($settings as $key => $item) {{ $item->title ? $item->title : ucfirst(str_replace('_', ' ', $item->key)) }} @if ($item->json_params && json_decode($item->json_params)->type == 'dropdown') @else @endif {{ $item->description ? $item->description : '-' }} @endforeach --}}
{{-- page body end here --}} @endsection