<div class="row">
        <div class="col-sm-12">
            <div class="col-sm-12 col-md-12 mrgin20auto5 padding10px">
                <div class="portlet-body">
                    <h4 class="distanceRates_distanceHour">Distance Rates</h4>
                    <div class="form-group clearfix">
                        <div class="col-sm-2" >
                            <label class="ratePerKm_distanceHour">Rate Per Km</label>
                            <div class="input-group"> <span class="input-group-addon ratePerKmRupees_distanceHour">Rs</span>
                                <?php echo $this->FormElement($form->get('rate_per_km')); ?>
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <label class="firstKmRate_distanceHour">Ignore First Km After</label>
                            <div class="input-group"> <span class="input-group-addon">Km</span>
                                <?php echo $this->FormElement($form->get('ignore_first_km_after')); ?>
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <label>Ignore First Hours</label>
                            <div class="input-group"> <span class="input-group-addon">Hrs</span>
                                <?php echo $this->FormElement($form->get('ignore_first_hours')); ?>
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <label class="minimumFare_distanceHour">Minimum Fare</label>
                            <div class="input-group"> <span class="input-group-addon minimumFareRupees_distanceHour">Rs</span>
                                <?php echo $this->FormElement($form->get('minimum_fare')); ?>
                            </div>
                        </div>
                    </div>
                    <hr>
                    <form class="form-inline col-sm-12" role="form">
                        <h4 class="hourlyRates_distanceHour">Hourly Rates</h4>
                        <h5 class="ratePerHour_distanceHour">Rate Per Hour</h5>
                        <div class="input-group col-sm-2"> <span class="input-group-addon ratePerHourRupees_distanceHour">Rs</span>
                            <?php echo $this->FormElement($form->get('rate_per-hour')); ?>
                        </div>
                    </form>
                    <div class="col-sm-12 text-left"><br>
                        <label class="booking-check">Update All Rows
                            <?php echo $this->FormElement($form->get('update_all_rows')); ?>
                            <span class="checkmark"></span>
                        </label>

                    </div>

                    <div class="col-sm-12 no-padding">
                        <div class="col-sm-2">
                            <label>Package Name</label>
                        </div>
                        <div class="col-sm-2">
                            <label>Ignore Hours</label>
                        </div>
                        <div class="col-sm-2">
                            <label>Ignore KM</label>
                        </div>                  
                        <div class="col-sm-2">
                            <label>Amount</label>
                        </div>                  
                        <div class="col-sm-2 margin-left15"></div>
                        <div class="col-sm-3">&nbsp;</div>
                    </div>

                    <div id="Dis_Hourly_Div_package">
                        <div class="col-sm-12 no-padding margin-bttom10px">
                            <div class="col-sm-2">
                                <?php echo $this->FormElement($form->get('package_name')); ?>
                            </div>
                            <div class="col-sm-2">
                                <?php echo $this->FormElement($form->get('ignore_hours')); ?>
                            </div><div class="col-sm-2">
                                <?php echo $this->FormElement($form->get('ignore_km')); ?>
                            </div>
                            <div class="col-sm-2">
                                <?php echo $this->FormElement($form->get('amount')); ?>
                            </div><div class="col-sm-2"></div>
                        </div></div>

                    <div id="appended_Dist_Hourly_package"><div class="col-sm-12 no-padding form-group">
                            <div class="col-sm-2"><input id="pkg_nameDist_Hourly_2" class="form-control allowtext" value="8 Hrs - 80 KM" type="text"></div>
                            <div class="col-sm-2"><input id="pkg_ignorHR_DistHourly_2" class="form-control" value="8" type="text"></div>
                            <div class="col-sm-2"><input id="pkg_ignoreKM_DistHourly_2" class="form-control" value="80" type="text"></div>
                            <div class="col-sm-2"><input id="pkg_amount_Dist_Hourly_2" class="form-control" value="1100" type="text"></div>
                            <div class="col-sm-1 removepkgrow_disthourly"><a href="#" id="removeDist_Hourly_Pkg_2"><i class="fa fa-trash-o fa-2x"></i></a></div>
                            <div class="col-sm-2"></div></div>
                        <div class="col-sm-12 no-padding form-group">
                            <div class="col-sm-2"><input id="pkg_nameDist_Hourly_3" class="form-control allowtext" value="12 Hrs - 120 KM" type="text"></div>
                            <div class="col-sm-2"><input id="pkg_ignorHR_DistHourly_3" class="form-control" value="12" type="text"></div>
                            <div class="col-sm-2"><input id="pkg_ignoreKM_DistHourly_3" class="form-control" value="120" type="text"></div>
                            <div class="col-sm-2"><input id="pkg_amount_Dist_Hourly_3" class="form-control" value="1500" type="text"></div>
                            <div class="col-sm-1 removepkgrow_disthourly"><a href="#" id="removeDist_Hourly_Pkg_3"><i class="fa fa-trash-o fa-2x"></i></a></div>
                            <div class="col-sm-2"></div></div>
                        <div class="col-sm-12 no-padding form-group">
                            <div class="col-sm-2"><input id="pkg_nameDist_Hourly_4" class="form-control allowtext" value="16 Hrs - 160 KM" type="text"></div>
                            <div class="col-sm-2"><input id="pkg_ignorHR_DistHourly_4" class="form-control" value="16" type="text"></div>
                            <div class="col-sm-2"><input id="pkg_ignoreKM_DistHourly_4" class="form-control" value="160" type="text"></div>
                            <div class="col-sm-2"><input id="pkg_amount_Dist_Hourly_4" class="form-control" value="2500" type="text"></div>
                            <div class="col-sm-1 removepkgrow_disthourly"><a href="#" id="removeDist_Hourly_Pkg_4"><i class="fa fa-trash-o fa-2x"></i></a></div><div class="col-sm-2"><div class="col-sm-4 addPKG_loc_Dist_hourly no-padding" id="addPKg_DisT_Hourly_4"><a href="#" class="btn btn-info form-control">Add</a></div></div></div>
                    </div>

                    <div class="row ">
                        <div class="col-sm-3"></div>
                        <div class="col-sm-3"></div>
                        <div class="col-sm-2 pull-right margin-r-10"> <a href="#Distance_Waiting" id="Distance_Hourn" data-toggle="tab">
                                <button class="btn btn-info form-control margin-bttom10px">Next</button>
                            </a> </div>
                        <div class="col-sm-2 pull-right margin-bttom10px" id="cab_distance_hour_save"> <a href="#" data-toggle="tab">
                                <button class="btn btn-info form-control">Save</button>
                            </a> </div>
                        <div class="col-sm-2 pull-right display-none margin-bttom10px no-padding" id="vehicle_distance_hour_save"> <a href="#" data-toggle="tab">
                                <button class="btn btn-info form-control">Save</button>
                            </a> </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
