@php $spinTemplate = json_decode(setting('autocontent_spin_template'), true); $spinTitle = data_get($spinTemplate, '*.title', []); @endphp
{{ Form::label('target_spin_field', trans('plugins/auto-content::content.form.choose_field'), ['class' => 'text-title-field']) }}
{{ Form::select('target_spin_field', $acceptFields, 'content', ['class' => 'ui-select']) }}
{{ Form::label('spin_template_title', trans('plugins/auto-content::content.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/auto-content::content.form.spin_placeholder'), 'id' => 'spin']) }}
{{ Form::editor('preview_content', null, ['placeholder' => trans('plugins/auto-content::content.form.preview_placeholder'), 'id' => 'preview_spin_content']) }}