@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') @include('elements.post-schedule-setup', isset($post) ? ['release_date' => $post->release_date,'expire_date' => $post->expire_date] : [])
{{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.post-create-actions')
@if(Route::currentRouteName() == 'posts.create') @endif @if(!GenericHelper::isUserVerified() && getSetting('site.enforce_user_identity_checks')) @else @endif
@stop