@extends('ilgar.layouts.master') @section('content') @php // $item : Transparency // $langs : Langs @endphp

Setup Transparency


Back to Home {{-- Flash --}} @if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif @if ($errors->any())
Validation errors:
@endif
{{-- Settings / Delete --}}

Transparency Settings

Status: {!! $item->is_active ? 'Active' : 'Draft' !!}
{{-- Delete Modal --}}
{{-- Preview Image --}} @if ($item->image_path)
Transparency Image
@endif {{-- Update Image Form --}}
Update Image
@csrf
@error('image')
{{ $message }}
@enderror
{{-- Current File + Update File Form --}}
Update File
@if($item->file_path)
{{ $item->file_name ?? 'Attached file' }}
{{ $item->file_mime }} @if($item->file_size) • {{ number_format($item->file_size/1024, 1) }} KB @endif
Download
@endif
@csrf
@error('file')
{{ $message }}
@enderror
{{-- Main Form --}}
@csrf
@error('key')
{{ $message }}
@enderror
Allowed: a-z, 0-9, underscore (_)
@if ($langs->english == 1)
@endif @if ($langs->dari == 1)
@endif @if ($langs->pashto == 1)
@endif @if ($langs->english == 1)
@endif @if ($langs->dari == 1)
@endif @if ($langs->pashto == 1)
@endif
is_active) ? 'checked' : '' }}>
@push('scripts') @endpush @endsection