@extends('admin.layouts.index') @include('admin.layouts.components.asset_validasi') @include('admin.layouts.components.asset_colorpicker') @section('title')

Pengaturan Tema Ubah Data

@endsection @section('breadcrumb')
  • Ubah Data
  • @endsection @section('content') @include('admin.layouts.components.notifikasi')
    Kembali ke Tema
    @if (count($tema->config) > 0) {!! form_open($form_action, 'id="validasi"') !!}
    @foreach ($tema->config as $key => $value) @if (view()->exists("admin.theme.components.form.{$value['type']}"))
    @php $value['default'] = $tema->opsi[$value['key']] ?? $value['value']; $value['readonly'] = $value['readonly'] == true ? 'readonly' : ''; $value['class'] = $value['attributes']['class']; unset($value['attributes']['class'], $value['attributes']['readonly']); if (!empty($value['attributes'])) { $value['attributes'] = implode( ' ', array_map( function ($key, $value) { return "$key=\"$value\""; }, array_keys($value['attributes']), $value['attributes'], ), ); } @endphp @include("admin.theme.components.form.{$value['type']}", [ 'value' => $value, ])
    @endif @endforeach
    @else

    Info

    Pengaturan untuk tema ini belum tersedia. @if (!$tema->sistem) Salin Config @endif
    @endif
    @endsection