@extends('panel.layout.settings', ['disable_tblr' => true]) @section('title', $template != null ? __('Edit Custom Template') : __('Add Custom Template')) @section('titlebar_actions', '') @section('settings')
{{ $template != null ? $template->description : null }} @foreach ($filters as $filter) @endforeach
@if ($template != null) @foreach (json_decode($template->questions) ?? [] as $question)
@endforeach @else
@endif
@if ($template != null) @foreach (json_decode($template->questions) ?? [] as $question) @endforeach @endif
{{ $template != null ? $template->prompt : null }}
@if ($app_is_demo) {{ __('Save') }} @else {{ __('Save') }} @endif
@endsection @push('script') @endpush