@extends('panel.layout.app') @section('title', __('AI Code')) @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
@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)}}
@endif
@endforeach @if($openai->type == 'text')
{{__('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 @endsection