@extends('panel.layout.app') @section('title', __($openai->title)) @section('additional_css') @endsection @section('content')
{{ __('Remaining Credits') }}
@if ((int) Auth::user()->remaining_words + (int) Auth::user()->remaining_images != 0)
@endif @if ((int) Auth::user()->remaining_words + (int) Auth::user()->remaining_images != 0)
@endif
{{ __('Words') }} @if (Auth::user()->remaining_words == -1) {{ __('Unlimited') }} @else {{ number_format((int) Auth::user()->remaining_words) }} @endif
{{ __('Images') }} @if (Auth::user()->remaining_images == -1) {{ __('Unlimited') }} @else {{ number_format((int) Auth::user()->remaining_images) }} @endif
@if ($openai->type != 'code')
@endif @foreach (json_decode($openai->questions) as $question)
@php $placeholder = isset($question->description) && !empty($question->description) ? __($question->description) : __($question->question); @endphp @if ($question->type == 'text') @elseif($question->type == 'textarea') @elseif($question->type == 'select')
{{ __($question->question) }}
@elseif($question->type == 'rss_feed')
{{ __('Fetch RSS') }}
@elseif($question->type == 'url') @endif
@endforeach @if ($openai->type == 'youtube')
{{ __('Action') }}
@endif @if ($openai->type == 'text' || $openai->type == 'rss')
{{ __('Tone of Voice') }}
@endif
@if ($openai->type != 'code')
@endif @if ($openai->type != 'code')
@endif {{ __('Delete') }}
@if ($openai->type == 'code')
...
@else
@endif
@if ($setting->hosting_type != 'high') @endif @endsection @section('script') @if ($setting->hosting_type != 'high') @endif @if ($openai->type == 'code') @endif {{-- --}} @if ($openai->type == 'rss') @endif @endsection