@extends('panel.layout.settings', ['disable_tblr' => true]) @section('title', __('Workbook')) @section('titlebar_pretitle', __('Share post your integrations.')) @section('titlebar_title', $title) @section('titlebar_actions', '') @section('settings')
@if ($workbook->generator->type === 'code')
{{ $workbook->output }}
@elseif($workbook->generator->type === 'image')
@csrf
{{ __($workbook->generator->title) }}
{{ __('Share') }}
@elseif(in_array($workbook->generator->type, ['text', 'youtube', 'rss', 'audio']))
@csrf {!! $workbook->output !!}
@if ($categories != null)
@foreach ($categories as $cat) @endforeach
@endif @if ($tags != null)
@foreach ($tags as $tag) @endforeach
@endif
@if ($images != null)
@foreach ($images as $image)
{{ $image['title']['rendered'] }}
@endforeach
@endif {{ __('Share') }} @endif
@endsection @php $lang_with_flags = []; foreach (LaravelLocalization::getSupportedLocales() as $lang => $properties) { $lang_with_flags[] = [ 'lang' => $lang, 'name' => $properties['native'], 'flag' => country2flag(substr($properties['regional'], strrpos($properties['regional'], '_') + 1)), ]; } @endphp @push('script') @if ($openai->type == 'code') @endif @endpush