{{ isset($auction) ? trans('app.update_auction') : trans('app.add_auction') }}

{!! 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($auction) ? 1 : null, ['class' => 'form-control select2-normal', 'placeholder' => trans('app.placeholder.status'), '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($auction) ? 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('vendor', trans('app.vendor'). '*') !!}
{{--
--}} {{-- {!! 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('start_price', trans('app.form.start_price') . '*', ['class' => 'with-help']) !!}
{{ get_currency_symbol() }} {!! Form::number('start_price', null, ['class' => 'form-control', 'step' => 'any', 'min' => '0', 'placeholder' => trans('app.placeholder.start_price')], 'required') !!}
{!! Form::label('quantity', trans('app.form.quantity') . '*', ['class' => 'with-help']) !!} {!! Form::number('quantity', isset($auction) ? null : 1, ['min' => 0, 'class' => 'form-control', 'placeholder' => trans('app.placeholder.quantity'), 'required']) !!}
{{ trans('app.featured_image') }} @if (isset($auction) && $auction->featureImage) {{ trans('app.featured_image') }} @endif
{{ trans('app.form.upload') }}