@extends('admin.layouts.app') @section('content') {{ trans('admin/main.custom_css_js') }} {{ trans('admin/main.dashboard') }} {{ trans('admin/main.settings') }} {{ trans('admin/main.custom_css_js') }} @php $itemValue = (!empty($settings) and !empty($settings['custom_css_js'])) ? $settings['custom_css_js']->value : ''; if (!empty($itemValue) and !is_array($itemValue)) { $itemValue = json_decode($itemValue, true); } @endphp {{ trans('admin/main.css') }} {{ trans('admin/main.js') }} {{ csrf_field() }} {{ (!empty($itemValue) and !empty($itemValue['css'])) ? $itemValue['css'] : '' }} {{ trans('admin/main.save_change') }} {{ csrf_field() }} {{ (!empty($itemValue) and !empty($itemValue['js'])) ? $itemValue['js'] : '' }} {{ trans('admin/main.save_change') }} @endsection @push('scripts_bottom') @endpush