<div bsModal #createOrEditModal="bs-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="createOrEditModal" aria-hidden="true" [config]="{backdrop: 'static'}">
    <div class="modal-dialog modal-md">
        <div class="modal-content">
            <form *ngIf="active" #postalCodeForm="ngForm" novalidate (ngSubmit)="save()" autocomplete="off">
                <div class="modal-header">
                    <h4 class="modal-title">
                        <span *ngIf="postalCode.id">{{l("EditPostalCode")}}</span>
                        <span *ngIf="!postalCode.id">{{l("CreateNewPostalCode")}}</span>
                    </h4>
                    <button type="button" class="close" (click)="close()" aria-label="Close" [disabled]="saving">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                 


								<div class="form-group">
									<label for="PostalCode_Country">{{l("Country")}}</label>
									<input type="text" id="PostalCode_Country" class="form-control" [(ngModel)]="postalCode.country" name="Country"   minlength="1"  maxlength="40" required/>
								</div>
					
								<div class="form-group">
									<label for="PostalCode_City">{{l("City")}}</label>
									<input type="text" id="PostalCode_City" class="form-control" [(ngModel)]="postalCode.city" name="City"   minlength="1"  maxlength="40" required/>
								</div>
					
								<div class="form-group">
									<label for="PostalCode_State">{{l("State")}}</label>
									<input type="text" id="PostalCode_State" class="form-control" [(ngModel)]="postalCode.state" name="State"   minlength="1"  maxlength="40" required/>
								</div>
					
								<div class="form-group">
									<label for="PostalCode_Value">{{l("Value")}}</label>
									<input type="text" id="PostalCode_Value" class="form-control" [(ngModel)]="postalCode.value" name="Value"   minlength="1"  maxlength="40" required/>
								</div>
					

                </div>
                <div class="modal-footer">
                    <button [disabled]="saving" type="button" class="btn btn-default btn-pill" (click)="close()">{{l("Cancel")}}</button>
                    <button type="submit" class="btn btn-primary btn-pill blue" [disabled]="!postalCodeForm.form.valid" [buttonBusy]="saving" [busyText]="l('SavingWithThreeDot')"><i class="fa fa-save"></i> <span>{{l("Save")}}</span></button>
                </div>
            </form>
        </div>
    </div>

</div>