<form class="form-horizontal" id="location_add_form" autocomplete="off" role="form" method="POST" action="#">
    @csrf
    <div class="row">
        <div class="col-sm-6">
            <div class="form-group @error('country_name') has-error @enderror">
                <label for="country_name" class="control-label"> {{ __('Country Name') }} <span class="text-danger">*</span></label>
                <input type="text" class="form-control" name="country_name" id="country_name" placeholder="Country Name">
                @if($errors->has('country_name'))
                    <p class="text-danger">{{ $errors->first('country_name') }}</p>
                @endif
            </div>
        </div>
        <div class="col-sm-6">
            <div class="form-group @error('country_name_ar') has-error @enderror">
                <label for="country_name_ar" class="control-label"> {{ __('Country Name(AR)') }} <span class="text-danger">*</span></label>
                <input type="text" class="form-control" name="country_name_ar" id="country_name_ar" placeholder="Country Name">
                @if($errors->has('country_name_ar'))
                    <p class="text-danger">{{ $errors->first('country_name_ar') }}</p>
                @endif
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-6">
            <div class="form-group @error('city_name') has-error @enderror">
                <label for="city_name" class="control-label"> {{ __('City Name') }} <span class="text-danger">*</span></label>
                <input type="text" class="form-control" name="city_name" id="city_name" placeholder="City Name">
                @if($errors->has('city_name'))
                    <p class="text-danger">{{ $errors->first('city_name') }}</p>
                @endif
            </div>
        </div>
        <div class="col-sm-6">
            <div class="form-group @error('city_name_ar') has-error @enderror">
                <label for="city_name_ar" class="control-label"> {{ __('City Name(AR)') }} <span class="text-danger">*</span></label>
                <input type="text" class="form-control" name="city_name_ar" id="city_name_ar" placeholder="City Name">
                @if($errors->has('city_name_ar'))
                    <p class="text-danger">{{ $errors->first('city_name_ar') }}</p>
                @endif
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-6">
            <div class="form-group @error('zone_code') has-error @enderror">
                <label for="zone_code" class="control-label"> {{ __('Zone Code') }}</label>
                <input type="text" class="form-control" name="zone_code" id="zone_code" placeholder="Zone Code">
                @if($errors->has('zone_code'))
                    <p class="text-danger">{{ $errors->first('zone_code') }}</p>
                @endif
            </div>
        </div>
        <div class="col-sm-6">
            <div class="form-group @error('zone_code_ar') has-error @enderror">
                <label for="zone_code_ar" class="control-label"> {{ __('Zone Code(AR)') }}</label>
                <input type="text" class="form-control" name="zone_code_ar" id="zone_code_ar" placeholder="Zone Code">
                @if($errors->has('zone_code_ar'))
                    <p class="text-danger">{{ $errors->first('zone_code_ar') }}</p>
                @endif
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-6">
            <div class="form-group @error('zone_name') has-error @enderror">
                <label for="zone_name" class="control-label"> {{ __('Zone Name') }}</label>
                <input type="text" class="form-control" name="zone_name" id="zone_name" placeholder="Zone Name">
                @if($errors->has('zone_name'))
                    <p class="text-danger">{{ $errors->first('zone_name') }}</p>
                @endif
            </div>
        </div>
        <div class="col-sm-6">
            <div class="form-group @error('zone_name_ar') has-error @enderror">
                <label for="zone_name_ar" class="control-label"> {{ __('Zone Name(AR)') }}</label>
                <input type="text" class="form-control" name="zone_name_ar" id="zone_name_ar" placeholder="Zone Name">
                @if($errors->has('zone_name_ar'))
                    <p class="text-danger">{{ $errors->first('zone_name_ar') }}</p>
                @endif
            </div>
        </div>
    </div>
    <div class="form-group row">
        <div class="col-sm-8 offset-sm-4">
            <button type="button" id="addLocationBtn" class="btn btn-primary" onclick="return addLocation();">{{ __('Add Location') }}</button>
            <button type="button" class="btn btn-warning" data-dismiss="modal">Close</button>
        </div>
    </div>
</form>
