@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', (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.post-save-confirmation')

{{Route::currentRouteName() == 'posts.create' ? __('New post') : __('Edit post')}}

@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])
@include('elements.icon',['icon'=>'logo-usd','variant'=>'medium','centered'=>true]) {{__("Set post price")}} {{__("Price")}} {{(isset($post) && $post) > 0 ? "( ".config('app.site.currency_symbol')."$post->price ".(config('app.site.currency_symbol') ? '' : config('app.site.currency_code'))." )" : ''}}
@if(Route::currentRouteName() == 'posts.create') @endif @if(!GenericHelper::isUserVerified() && getSetting('site.enforce_user_identity_checks')) @else @endif
@stop