@include('panel.user.openai.components.workbook-actions', [ 'type' => $workbook->generator->type, 'title' => $workbook->title, 'slug' => $workbook->slug, 'output' => $workbook->output, 'is_generated_doc' => true, ])
@if ($workbook->generator->type === 'code')
{{ $workbook->output }}
@elseif($workbook->generator->type === 'image')
{{ __($workbook->generator->title) }}
@elseif($workbook->generator->type === 'voiceover' || $workbook->generator->type === 'isolator')
0:00
@elseif(in_array($workbook->generator->type, ['text', 'youtube', 'rss', 'audio']))
{!! $workbook->output !!} {{ __('Save') }} @csrf @endif