@extends('admin.layouts.main') @section('title', ___('Edit Post')) @section('content')
@csrf @method('PUT')
@if(count($custom_fields)) @foreach($custom_fields as $field) @php $field_title = $field->get_translated_title(); @endphp @if($field->type == "text-field")
{{ ___('This field is required.') }}
@endif @if($field->type == "textarea")
{{ ___('This field is required.') }}
@endif @if($field->type == "drop-down")
@endif @if($field->type == "radio-buttons")
@foreach(explode(',',$field->options) as $option_id) @php $option = get_customOptions_by_id($option_id); @endphp @if($option)
default) checked @endif>
@endif @endforeach
@endif @if($field->type == "checkboxes") @php $custom_data = explode(',',$field->default); @endphp

@foreach(explode(',',$field->options) as $option_id) @php $option = get_customOptions_by_id($option_id); @endphp @if($option)
@endif @endforeach
@endif @endforeach @endif
{{ get_currency_by_country_code($post->country_code) }}
negotiable == "1") checked @endif>
hide_phone == "1") checked @endif>
@if(@$settings->post_address_mode)
{{ ___('Drag the map marker to exact address') }}
@endif
{{ ___('Enter the tags separated by commas.') }}

featured == 1) checked @endif name="featured" id="featured" value="1">
urgent == 1) checked @endif name="urgent" id="urgent" value="1" >
highlight == 1) checked @endif name="highlight" id="highlight" value="1">
@endsection @push('scripts_at_top') @endpush @push('scripts_at_bottom') @if(@$settings->post_desc_editor) @endif @if(@$settings->post_address_mode) @if(@$settings->map_type == 'google') @else @endif @endif @endpush