{{ isset($tender) ? trans('app.update_tender') : trans('app.add_tender') }}

{!! Form::label('title', trans('app.form.title') . '*', ['class' => 'with-help']) !!} {!! Form::text('title', null, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.title'), 'required']) !!}
{!! Form::label('active', trans('app.form.status') . '*', ['class' => 'with-help']) !!} {!! Form::select('active', ['1' => trans('app.active'), '0' => trans('app.inactive')], !isset($tender) ? 1 : null, ['class' => 'form-control select2-normal', 'placeholder' => trans('app.placeholder.status'), 'required']) !!}
{!! Form::label('company', trans('app.form.company') . '*', ['class' => 'with-help']) !!} {!! Form::text('company', null, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.company'), 'required']) !!}
{!! Form::label('ad_date', trans('app.form.ad_date') . '*', ['class' => 'with-help']) !!}
{!! Form::text('ad_date', null, ['class' => 'form-control datetimepicker', 'placeholder' => trans('app.placeholder.ad_date'), 'required']) !!}
{!! Form::label('start_date', trans('app.form.start_date'). '*', ['class' => 'with-help']) !!}
{!! Form::text('start_date', null, ['class' => 'form-control datetimepicker', 'placeholder' => trans('app.placeholder.start_date'), 'required']) !!}
{!! Form::label('end_date', trans('app.form.end_date'). '*', ['class' => 'with-help']) !!}
{!! Form::text('end_date', null, ['class' => 'form-control datetimepicker', 'placeholder' => trans('app.placeholder.end_date'), 'required']) !!}
{!! Form::label('description', trans('app.form.description') . '*', ['class' => 'with-help']) !!} {!! Form::textarea('description', null, ['class' => 'form-control summernote', 'rows' => '4', 'placeholder' => trans('app.placeholder.description'), 'required']) !!}
{!! $errors->first('description', ':message') !!}
{{ trans('app.form.images') }}
{{ trans('help.multi_img_upload_instruction', ['size' => getAllowedMaxImgSize(),'number' => getMaxNumberOfImgsForInventory()]) }}

* {{ trans('app.form.required_fields') }}

{!! Form::submit(isset($tender) ? trans('app.form.update') : trans('app.form.save'), ['class' => 'btn btn-flat btn-lg btn-primary']) !!}

{{ trans('app.organization') }}

{!! Form::label('category', trans('app.category'). '*') !!}
{{--
--}} {{-- {!! Form::label('category_list[]', trans('app.form.categories') . '*') !!}--}} {{-- {!! Form::select('category_list[]', $categories, null, ['class' => 'form-control select2-normal', 'multiple' => 'multiple', 'required']) !!}--}} {{--
--}} {{--
--}}
{{ trans('app.catalog_rules') }}
{!! Form::label('paid', trans('app.form.status_tender') . '*', ['class' => 'with-help']) !!} {!! Form::select('paid', ['1' => trans('app.paid'), '0' => trans('app.free')], !isset($tender) ? 1 : null, ['class' => 'form-control select2-normal', 'placeholder' => trans('app.placeholder.paid'), 'required']) !!}
{!! Form::label('subscription_price', trans('app.form.subscription_price'), ['class' => 'with-help']) !!}
{{ get_currency_symbol() }} {!! Form::number('subscription_price', null, ['class' => 'form-control', 'step' => 'any', 'min' => '0', 'placeholder' => trans('app.placeholder.subscription_price')]) !!}
{!! Form::label('country', trans('app.country'). '*') !!}