@php $spinTitle = data_get($spinTemplate, '*.title', []); @endphp
{{ Form::label('target_spin_field', trans('plugins/ai-writer::ai-writer.form.choose_field'), ['class' => 'text-title-field']) }}
{{ Form::select('target_spin_field', ['description', 'content'], 'content', ['class' => 'ui-select']) }}
{{ Form::label('spin_template_title', trans('plugins/ai-writer::ai-writer.form.choose_template'), ['class' => 'text-title-field']) }}
{{ Form::select('spin_template_title', $spinTitle, null, ['class' => 'ui-select']) }}
{{ Form::textarea('spin-template', null, ['class' => 'next-input', 'rows' => 5, 'placeholder' => trans('plugins/ai-writer::ai-writer.form.spin_placeholder'), 'id' => 'spin']) }}
{{ Form::editor('preview_content', null, ['placeholder' => trans('plugins/ai-writer::ai-writer.form.preview_placeholder'), 'id' => 'preview_spin_content']) }}