<?php
$get_weak = [];
?>
<div id="room-rate" class="tab-pane  tab_editprofile1">
    <div class="col-sm-col-sm-offset-1 margin-10auto0 paddingRL10px">    

        <div class="row" id="add-div">					  
            <div class="col-sm-12">
                <h4>Room Rate</h4>

                <div class="form-group clearfix margintopbottom20">
                    <label class="col-sm-3 control-label labelalign col-sm-3-new" id="vendor_type">
                        <?php echo $this->translate($this->formLabel($form->get('hotel_id'))); ?>
                    </label>
                    <div class="col-sm-3 col-sm-4-new">
                        <?php echo $this->FormElement($form->get('hotel_id')); ?>
                        <?php echo $this->formElementErrors($form->get('hotel_id'), ['class' => 'error']); ?>
                    </div>

                    <label class="col-sm-3 control-label labelalign col-sm-3-new" id="point_airport"> 
                        <?php echo $this->translate($this->formLabel($form->get('currency'))); ?>  
                    </label>
                    <div class="col-sm-4 col-sm-4-new">
                        <?php echo $this->FormElement($form->get('currency')); ?>
                        <?php echo $this->formElementErrors($form->get('currency'), ['class' => 'error']); ?>
                    </div>

                </div>

                <div class="form-group clearfix margintopbottom20">
                    <label class="col-sm-3 control-label labelalign col-sm-3-new" id="vendor_type">
                        <?php echo $this->translate($this->formLabel($form->get('vendor_type'))); ?>
                    </label>
                    <div class="col-sm-3 col-sm-4-new">
                        <?php echo $this->FormElement($form->get('vendor_type')); ?>
                        <?php echo $this->formElementErrors($form->get('vendor_type'), ['class' => 'error']); ?>
                    </div>
                    <label class="col-sm-3 control-label labelalign col-sm-3-new" id="vendor_name"> 
                        <?php echo $this->translate($this->formLabel($form->get('vendor_name'))); ?>
                    </label>
                    <div class="col-sm-3 col-sm-4-new">
                        <?php echo $this->FormElement($form->get('vendor_name')); ?>
                        <?php echo $this->formElementErrors($form->get('vendor_name'), ['class' => 'error']); ?>
                        <div style="float:right"><a href="javascript: void(0);" onclick="addNewUser()" class="btn btn-info" role="button" data-dismiss="modal">Add Vendor</a></div>
                    </div>
                </div>

                <div class="form-group clearfix margintopbottom20">
                    

                    
                    
                    <label class="col-sm-3 control-label labelalign col-sm-3-new" id="hotel_rate_name">
                        <?php echo $this->translate($this->formLabel($form->get('hotel_rate_name'))); ?>
                    </label>
                    <div class="col-sm-3 col-sm-4-new">
                        <?php echo $this->FormElement($form->get('hotel_rate_name')); ?>
                        <?php echo $this->formElementErrors($form->get('hotel_rate_name'), ['class' => 'error']); ?>
                    </div>     
                </div>
                
                           
                
                
                <div class="form-group clearfix margintopbottom20">
                    <div class="box-body table-responsive">
                         <div class="form-group clearfix margintopbottom20 hotel-contract-rate">
                            <?php echo $this->partial('hotel-contract-rate-edit.phtml'); ?>
                         </div>                       
                   </div>
               </div>
                </div>
                <?php //echo $this->partial('hotel-promotion-rate.phtml'); ?>
            </div>
        </div>
    </div>
</div>
