@extends('admin.layouts.app') @section('title','Settings') @section('breadcrumb') / Settings @endsection @section('content')
@csrf
@foreach(['general','legal','payment','email','donation','contact','cms'] as $group)
@if($groups->has($group))
@foreach($groups[$group] as $setting)
@if($setting->type === 'textarea') @elseif($setting->type === 'boolean')
value == '1' ? 'checked' : '' }}>
@elseif($setting->type === 'file') @if($setting->value) Current: {{ $setting->value }} @endif @else @endif
@endforeach
@else
No settings in this group
@endif @if($group === 'email')
Uses the SMTP settings above as currently saved in the database (save first if you just changed them). @endif @if($group === 'payment')
Verifies the Razorpay Key ID/Secret above (as currently saved) can authenticate with Razorpay's API. @endif
@endforeach
@endsection @push('scripts') @endpush