@extends('layouts.admin') @section('buttons') @if($id && $url = $record->getDetailUrl(['preview' => true])) Preview @endif @can('update', $record) @endcan @can('delete', $record) @endcan @can('back', $record) Back @endcan @endsection @section('content')
@csrf
@csrf
{{ $config['page_name'] }}
@row([ 'type' => 'textinput', 'has_language' => true, 'field' => 'title', ]) @row([ 'type' => 'textinput', 'has_language' => true, 'field' => 'sub_title', ]) @row([ 'type' => 'editor', 'field' => 'description', 'has_language' => true, ]) @repeater([ 'field' => 'services', 'sub_fields' => [ [ 'type' => 'image-upload', 'field' => 'image', 'options' => [ 'width' => '20%' ] ], [ 'type' => 'textinput', 'field' => 'title', 'has_language' => true, 'options' => [ 'width' => '30%' ] ], [ 'type' => 'editor', 'field' => 'description', 'has_language' => true, 'options' => [ 'width' => '50%' ] ], ] ])
@include('admin.base.footer')
@include('admin.base.seo')
@endsection @section('js') @endsection