@extends('layouts.admin') @section('title', __('Edit Built-in Template')) @section('page-title', __('Edit Built-in Template')) @section('content')
@csrf @method('PUT')
{{ $setting->relative_path }}
is_active))> {{ __('Active') }}
{{ __('Leave all unchecked to make this template visible to all customers.') }}
@php $selectedGroups = old('customer_group_ids'); if (!is_array($selectedGroups)) { $selectedGroups = $setting->relationLoaded('customerGroups') ? $setting->customerGroups->pluck('id')->map(fn ($id) => (string) $id)->all() : []; } else { $selectedGroups = array_map(fn ($id) => (string) $id, $selectedGroups); } @endphp
@foreach(($customerGroups ?? []) as $group) @endforeach
{{ __('Back') }} {{ __('Save') }}
@endsection