{{ trans('addpost.preview') }}
@if (isset($post->thumb)) @endif

{{ trans('addpost.pickpreview') }}
{{ trans('updates.or') }}
{{ trans('updates.getfromurl') }}
{!! Form::hidden('thumb', isset($post->thumb) ? makepreview($post->thumb, 'b', 'posts') : null, ['id' => 'upwthumb']) !!}
{{ trans('updates.tags') }}

{!! Form::text('tags', isset($tags) ? $tags : null, ['class' => '', 'id' => 'tags', 'placeholder' => trans('updates.addatag')]) !!}

@if(auth()->user()->isAdmin() || get_buzzy_config('EditorUserCanPublishDate') !== 'no')
{{ trans('v3.publish_date') }}

@endif @if(get_multilanguage_enabled() && (auth()->user()->isAdmin() || get_buzzy_config('EditorUserCanLanguage') !== 'no'))
{{ trans('v4.post_language') }}

{!! Form::select('language', get_buzzy_language_list_options(), isset($post->language) ? $post->language : app()->getLocale(), ['id'=> 'language', 'class' => 'form-control']) !!}

@endif @unless($post_type == 'quiz' or $post_type == 'poll')
{{ trans('updates.pagination') }}

{!! Form::select('pagination', ['0' => trans('updates.all'), '1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '6' => '6', '7' => '7', '8' => '8', '9' => '9', '10' => '10'], isset($post->pagination) ? $post->pagination : null) !!}

@endunless
{!! Form::submit(isset($post->id) ? trans('addpost.savec') : trans('addpost.createp'), ['class' => 'button button-orange button-full submit-button PostAction', 'data-post-t' => 'post']) !!} {!! Form::submit(trans('updates.saveasdraft'), ['class' => 'button button-rosy button-full submit-button PostAction', 'data-post-t' => 'draft']) !!} @if (isset($post->id)) {{ trans('addpost.cancel') }} @endif