@extends('layouts.user-no-nav') @section('page_title', __('New post')) @section('styles') {!! Minify::stylesheet([ '/css/posts/post.css', '/libs/dropzone/dist/dropzone.css', ])->withFullUrl() !!} @stop @section('scripts') {!! Minify::javascript([ '/js/Post.js', '/js/posts/create-helper.js', '/js/suggestions.js', (Route::currentRouteName() =='posts.create' ? '/js/posts/create.js' : '/js/posts/edit.js'), '/libs/dropzone/dist/dropzone.js', '/js/FileUpload.js', ])->withFullUrl() !!} @stop @section('content')
@include('elements.uploaded-file-preview-template') @include('elements.post-price-setup',['postPrice'=>(isset($post) ? $post->price : 0)]) @include('elements.attachments-uploading-dialog')
{{Route::currentRouteName() == 'posts.create' ? __('New post') : __('Edit post')}}
@if(!PostsHelper::getDefaultPostStatus(Auth::user()->id))
@include('elements.pending-posts-warning-box')
@endif
@if(!GenericHelper::isUserVerified() && getSetting('site.enforce_user_identity_checks')) @endif
{{__('Your post must contain more than 10 characters.')}}
@include('elements.icon',['icon'=>'document-outline','variant'=>'medium','centered'=>true, 'classes' => 'mr-1']) {{__("Files")}}
@include('elements.icon',['icon'=>'logo-usd','variant'=>'medium','centered'=>true, 'classes' => 'mr-1']) {{__("Price")}} {{__("Price")}} {{(isset($post) && $post) > 0 ? "(".config('app.site.currency_symbol')."$post->price".(config('app.site.currency_symbol') ? '' : config('app.site.currency_code')).")" : ''}}
@if(getSetting('profiles.enable_new_post_notification_setting'))
@include('elements.icon',['icon'=>'notifications-off-outline','variant'=>'medium','centered'=>true, 'classes' => 'mr-1'])
{{__("Notify users")}} {{__("Notify")}}
@endif @if(getSetting('ai.open_ai_enabled')) @include('elements.suggest-description')
@include('elements.icon',['icon'=>'hardware-chip-outline','variant'=>'medium','centered'=>true, 'classes' => 'mr-1']) {{__("Suggestion")}} {{__("Suggestion")}}
@endif
@if(Route::currentRouteName() == 'posts.create') @endif @if(!GenericHelper::isUserVerified() && getSetting('site.enforce_user_identity_checks')) @else @endif
@stop