{{--{{ dd($marka) }}--}} @extends('layouts/app') @section('header_styles') @endsection @section('content') Add listing - Bike Gear Category: Bike Gear Home {{ csrf_field() }} Description {{--Данни за обявата--}} Category Select @if($motoadd->moto_category_id) @foreach($object->categories as $item) cat_parent_id == $item->id) {{ 'selected' }} @endif>{{ $item->name }} @endforeach @endif Sub-category Select @if($motoadd->moto_category_id) @foreach($object->subcategories as $item) moto_category_id == $item->id) {{ 'selected' }} @endif>{{ $item->name }} @endforeach @endif Title Item / Part Number Condition Select @if($motoadd->condition) @foreach($object->condition as $item) condition == $item->id) {{ 'selected' }} @endif>{{ $item->value }} @endforeach @endif Year Select @foreach($object->godina as $item) moto_godina == $item->id) {{ 'selected' }} @endif>{{ $item->name }} @endforeach State Select @if ($motoadd->region) @foreach($object->region as $item) region == $item->id) {{ 'selected' }} @endif>{{ $item->name }} @endforeach @endif City {{ array_first($paramsobj->location)->name }} Description {{ $motoadd->description }} Hint: 300 words max 0/300 Words Price @foreach($object->cenatip as $item) pricetype && array_first($paramsobj->pricetype)->id == $item->id) {{ 'selected' }} @endif>{{ $item->value }} @endforeach Promo price @foreach($object->valuta as $item) valuta&& array_first($paramsobj->valuta)->id == $item->id) {{ 'selected' }} @endif>{{ $item->value }} @endforeach Video (youtube.com) Add a video from youtube.com @if($paramsobj->addvideo)Delete@endif @if (!$motoadd->user) Personal data Name/Last Name @if ($errors->has('name')) {{ $errors->first('name') }} @endif E-Mail @if ($errors->has('email')) {{ $errors->first('email') }} @endif Phone @if ($errors->has('phone')) {{ $errors->first('phone') }} @endif Password @if ($errors->has('password')) {{ $errors->first('password') }} @endif Password confirm @endif @if($motoadd->user && (!$motoadd->user->phone)) Personal data @if(!$motoadd->user->phone) Phone @if ($errors->has('phone')) {{ $errors->first('phone') }} @endif @endif @endif UPDATE DESCRIPTION[Next step: Images] @include('layouts.errors') @include('layouts.banners', ['banner' => '600x300x1']) @include('layouts.sidebar', ['hotlinks' => true, 'sidemenucats' => false]) @include('layouts.catsbox') @endsection @section('footer_scripts') {{----}} @endsection