@extends('admin.layouts.container') @section('content')

{{ $head ?? ''}}

@if($option ?? '' && $option->id) @method('PUT') @endif @csrf
@foreach(languages() as $language)
@endforeach {{-- @foreach(languages() as $language) @foreach(['subtitle'] as $moduleField)
@endforeach @endforeach --}} @foreach(languages() as $language)
@foreach($variables as $variable) @endforeach
@endforeach {{--
@for($i = 2; $i <= $maxItemNames; $i++)
@endfor @include('admin.partials._upload_photo', ['item_value'=>old('image', $option->image ?? ''), 'label_name'=>meta('image', $lang) ?? __("options.image"), 'input_name'=>'image']) --}}
@foreach(['active', 'inactive'] as $status)
status ?? 'active') == $status ? 'checked' : '' }}>
@endforeach
@foreach([0, 1] as $is_default)
is_default ?? 0) == $is_default ? 'checked' : '' }}>
@endforeach
@endsection @push('stack_scripts') @endpush @section('inner_js') @endsection