@section('site_title', formatTitle([e($template->name), __('Template'), config('settings.title')])) @section('head_content') @endsection @include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => route('dashboard'), 'title' => __('Home')], ['url' => route('templates'), 'title' => __('Templates')], ['title' => __('Template')], ]])

{{ __($template->name) }}

{{ __($template->name) }}
@include('templates.partials.menu')
@include('shared.message')
@cannot('customTemplates', ['App\Models\User'])
@endcannot @csrf
@if ($errors->has('name')) {{ $errors->first('name') }} @endif {{ __('The name of the document.') }}
@if ($errors->has('prompt')) {{ $errors->first('prompt') }} @endif
@include('templates.partials.common-inputs')
{{ __('Reset') }}
@cannot('customTemplates', ['App\Models\User'])
@if(paymentProcessors()) @include('shared.features.locked') @else @include('shared.features.unavailable') @endif
@endcannot
@if(isset($documents)) {{ __('Show form') }} @endif
@if(isset($documents))
@foreach($documents as $document)
@include('templates.partials.document-result', ['document' => $document])
@endforeach
@endif
{{ __('Start by filling the form.') }}
{{ __('Generating the content, please wait.') }}