@php $md = $model ?? null; @endphp
<div class="form-group">
    {!! Form::label('make_id', __('vrc::lang.make') . ':*') !!}
    {!! Form::select('make_id', $makes, $md->make_id ?? null, ['class' => 'form-control vrc-select2', 'required', 'placeholder' => __('messages.please_select')]) !!}
</div>
<div class="row">
    <div class="col-md-6">
        <div class="form-group">
            {!! Form::label('name', __('vrc::lang.model') . ' (EN):*') !!}
            {!! Form::text('name', $md->name ?? null, ['class' => 'form-control', 'required']) !!}
        </div>
    </div>
    <div class="col-md-6">
        <div class="form-group">
            {!! Form::label('name_ar', __('vrc::lang.model') . ' (AR):') !!}
            {!! Form::text('name_ar', $md->name_ar ?? null, ['class' => 'form-control', 'dir' => 'rtl']) !!}
        </div>
    </div>
</div>
<div class="checkbox">
    <label>{!! Form::checkbox('is_active', 1, isset($md) ? (bool) $md->is_active : true) !!} @lang('vrc::lang.active')</label>
</div>
