@extends('layouts.admin') @section('buttons') @can('update', $record) @endcan @can('delete', $record) @endcan @can('back', $record) Back @endcan @endsection @section('content')
@csrf
@csrf
{{ $config['page_name'] }}
General Setting
@row([ 'type' => 'textinput', 'field' => 'page_title', 'title' => 'Base Page Title', 'has_language' => true ]) @row([ 'type' => 'textarea', 'field' => 'page_description', 'title' => 'Base Page Description', 'has_language' => true ]) @row([ 'type' => 'image-upload', 'field' => 'og_image', 'title' => 'Base OG Image', ])
Image Upload
@row([ 'type' => 'radio', 'field_base' => 'details', 'field' => 'enable_max_img_size', 'title' => 'Enable Max Image Size', 'options' => [ 'list' => [ [ 'title' => 'Yes', 'value' => 1, 'checked' => $record->details['enable_max_img_size'] ?? false ], [ 'title' => 'No', 'value' => 0, 'checked' => !($record->details['enable_max_img_size'] ?? false) ] ] ] ]) @row([ 'type' => 'textinput', 'field_base' => 'details', 'field' => 'img_max_width', 'title' => 'Max Width', 'options' => [ 'input_type' => 'number' ] ]) @row([ 'type' => 'textinput', 'field_base' => 'details', 'field' => 'img_max_height', 'title' => 'Max Height', 'options' => [ 'input_type' => 'number' ] ]) @row([ 'type' => 'textinput', 'field_base' => 'details', 'field' => 'jpg_quality', 'title' => 'JPG Quality', 'remark' => 'Type in %, only for jpg', 'options' => [ 'input_type' => 'number' ] ])
@include('admin.base.footer')
@endsection @section('js') @endsection