@extends('main-template') @section('content')
@include('layouts/form_errors') {!! Form::open(array('url' => 'advertisement/edit/' . $item->id, 'method' => 'post', 'autocomplete' => 'off', 'id' => 'edit-item')) !!}{!! Form::close() !!} {!! Form::hidden('ad_category', $ad_category ?: old('ad_category'), ['form' => 'edit-item']) !!}
{!! Form::text('item_name', old('item_name') ?: ($item->name === 'unknown' ? '' : $item->name), ['class' => 'form-control', 'form' => 'edit-item']) !!}
@include('advertisement.edit.images')
{!! Form::textarea('item_description', old('item_description')?:$item->description, ['class' => 'form-control', 'form' => 'edit-item']) !!}

Business Type

{!! Form::select('item_category', array('' => 'Please select a category') + $dirCats, $item->sd_category_id, ['class' => 'form-control', 'form' => 'edit-item']) !!}
@if(isAdmin())

FCRBE is a new feature and grant you an exclusive page with detailed info.
@endif @if(isAdmin()) @include('advertisement.blocks.edit-truly-reclaimed-supplier') @endif
is_fcrbe) style="display:none" @endif> @foreach ($fcrbeCats as $fcrbeCat)
{{$fcrbeCat->name}}
@foreach ($fcrbeCat->children as $id => $childrenCat)
@endforeach
@endforeach
is_fcrbe) style="display:none" @endif> @foreach ($fcrbeFilters as $fcrbeCat)
id, $item->fcrbe_categories_array)) style="display:none" @endif>
{{$fcrbeCat->name}}
@foreach ($fcrbeCat->children as $id => $childrenFilter)
@endforeach
@endforeach
is_fcrbe) style="display:none" @endif> @foreach ($fcrbeSpecs as $fcrbeSpec)
{{$fcrbeSpec->name}}
@foreach ($fcrbeSpec->children as $id => $childrenCat)
@endforeach
@endforeach
@if($adminUserId)
{!! Form::text('linked_items', $linkedItemString, ['class' => 'form-control', 'form' => 'edit-item']) !!} Enter a comma separated list of the item# for the items which you want to link with this ad.
@endif
{!! Form::text('item_established', $item->established, ['class' => 'form-control', 'form' => 'edit-item']) !!} Year established E.g. "1999"
{!! Form::text('item_opening_times', $item->opening_times, ['class' => 'form-control', 'form' => 'edit-item']) !!} E.g. "9-5 Monday to Friday. 10-5 Saturdays."

Security

The buttons below allow you to choose whether to show or hide your address on SalvoWEB.
@include('advertisement.blocks.edit-item-contact-details') {{--custom item location for admin--}} @include('blocks.item-location')
{!! Form::submit('Make live, save or archive', ['class' => 'btn btn-primary btn-lg', 'form' => 'edit-item']) !!}
@include('advertisement.edit.preview') @stop @section('js_functions') my_main.dropzoneStep2(); @if (app('request')->input('mode') == 'preview') $("#preview-popup").modal("show", {backdrop: 'static', keyboard: false}); @endif @stop