@php $statusLabelText = 'Editing, but not yet saved'; $statusLabelStyle = 'label-default-status'; switch ($item->status) { case 'pending': $statusLabelText = 'Pending and saved'; break; case 'archived': $statusLabelText = 'Archived'; break; case 'live': $statusLabelText = 'Live'; $statusLabelStyle = 'label-live-status'; break; } @endphp
{!! Form::text('item_name', old('item_name'), ['class' => 'form-control', 'form' => 'edit-item']) !!}
@include('advertisement.edit.images')
{!! Form::textarea('item_description', old('item_description'), ['class' => 'form-control', 'form' => 'edit-item']) !!}

{{$statusLabelText}}



{!! Form::hidden('item_status', $item->status, ['form' => 'edit-item']) !!}