@extends('main-template') @section('content')

Item details

@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']) !!} @include('advertisement.blocks.edit-item-details')
{!! Form::text('item_alt_contact', old('item_alt_contact')?:$item->alt_contact, ['class' => 'form-control', 'form' => 'edit-item']) !!} Please place the theft alert police contact details in this field, but please do not use full names, only initials or badge ID numbers, and then the town where the police station is located and a telephone number.
{!! Form::text('item_alt_email', $item->alt_email, ['class' => 'form-control', 'form' => 'edit-item']) !!} This field over-rides the main email address. Put 'No Emails' in this field to prevent email enquiries to this item.
{!! Form::text('item_stolen_from', $item->stolen_from, ['class' => 'form-control', 'form' => 'edit-item']) !!} Format: 'nearest town, county and country'. For example, 'Bournemouth, Dorset UK'
{!! Form::text('item_stolen_date', $item->stolen_date, ['class' => 'form-control', 'form' => 'edit-item']) !!} Format: 'day month year'. For example '31 July 2010'. If the date is unknown please use the date that the item was last positively seen.
{!! Form::select('item_category', array('' => 'Please select a category') + $itemCategories->toArray(), $item->item_category, ['class' => 'form-control', 'form' => 'edit-item']) !!}
@include('advertisement.blocks.edit-tags')
{!! Form::text('item_web', old('item_web', $item->web), ['class' => 'form-control', 'placeholder' => 'http://www.example.com', 'form' => 'edit-item']) !!}
{!! Form::text('item_crime_ref', $item->crime_ref, ['class' => 'form-control', 'form' => 'edit-item']) !!}
{!! Form::text('item_number_of_items_stolen', $item->number_of_items_stolen, ['class' => 'form-control', 'form' => 'edit-item']) !!}
{!! Form::text('item_number_of_items_recovered', $item->number_of_items_recovered, ['class' => 'form-control', 'form' => 'edit-item']) !!}
{!! Form::textarea('item_recovered_details', $item->recovered_details, ['class' => 'form-control', 'form' => 'edit-item']) !!}
{!! Form::select('item_contact', $userContacts, $item->contact_id, ['class' => 'form-control', 'form' => 'edit-item']) !!} Enquiries for this item will be sent to : {{Auth::user()->email}}.
To edit your contact details please go here : Edit Contact Details
{{--custom item location for admin--}} @include('blocks.item-location')
{!! Form::textarea('item_personal_notes', $item->personal_notes, ['class' => 'form-control', 'form' => 'edit-item']) !!}
@include('advertisement.blocks.edit-enhanced-listing')
{!! 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(); my_main.highlight_enhanced_listing(); my_main.add_advertisement_tags({{ auth()->user()->max_select_tags }}); @if (app('request')->input('mode') == 'preview') $("#preview-popup").modal("show"); @endif @stop