{{-- Extends layout --}} @extends('front.layouts.app') {{-- Content --}} @section('content')
@csrf @method('PATCH')

{{ $item->item_title }}

@component('front.components.input',[ 'label'=>__('İlan Başlığı'), 'name'=>'item_title', 'value'=>$item->item_title, 'placeholder'=>__('Lütfen ilan başlığı girin') ]) @endcomponent @component('front.components.locations',[ 'label'=>__('Bölge'), 'name'=>'item_loc_id', 'options' => $locations, 'selected_value' => $item->item_loc_id ]) @endcomponent @component('front.components.input',[ 'label'=>__('Fiyat'), 'name'=>'item_price', 'value'=>$item->item_price, 'placeholder'=>__('Lütfen fiyat giriniz') ]) @endcomponent @component('front.components.select',[ 'label'=>__('Fiyat Tipi'), 'name'=>'item_cur_id', 'options' => $currencies, 'option_id' => 'cur_id', 'option_value' => 'cur_title', 'selected_value' => $item->item_cur_id ]) @endcomponent @component('front.components.select',[ 'label'=>__('Etiket'), 'name'=>'item_it_id', 'options' => $item_tags, 'option_id' => 'it_id', 'option_value' => 'it_title', 'selected_value' => $item->item_it_id ]) @endcomponent @component('front.components.textarea',[ 'label'=>__('Açıklama'), 'name'=>'item_description', 'value'=>$item->item_description, 'placeholder'=>__('Lütfen bir açıklama giriniz'), 'class' => 'editor' ]) @endcomponent

{{ __('İlan Özellikler') }}

@component('front.components.item_attributes',[ 'label'=>__(''), 'attributes'=>$attributes, 'item_attributes'=>$item_attributes ]) @endcomponent

{{ __('İlan Ana Resim') }}

@component('front.components.file',[ 'label'=>__('İlan Ana Resim'), 'name'=>'item_main_photo', 'value'=>asset(\App\Models\Item::UPLOAD_FOLDER.$item->item_main_photo), 'placeholder'=>'Please select avatar', ]) @endcomponent

{{ __('Fotoğraf Galerisi') }}

@php $i=0 @endphp @foreach($item->gallery as $item_gallery)
@php $i++ @endphp @endforeach @for($i;$i<=11;$i++)
@endfor
@endsection @section('sidebar') @include('front.components.user_sidebar') @endsection @section('styles') @endsection @section('scripts') @endsection