
<div class="row">
                        <div class="col-sm-11">
                            <div class="page-title-box">
                                    <h2 class="page-title">Create Location</h2>
                            </div><!--end page-title-box-->
                        </div><!--end col-->
                        <div class="col-sm-1">
        <div class="page-title-box">
            <h2 class="page-title"><a href="location_list"><button  class='btn btn-danger' type="button">Back</button></a></h2>
        </div><!--end page-title-box-->
    </div><!--end col-->
                    </div>
                    
                    <div class="row" >
                        <div class="col-sm-12">
                            <div class="card">
                                <div class="card-body">
                                    <?php echo $this->Form->create('User'); ?>
                                   
                                    <div class="form-group row">
                                        
                                        <div class="col-sm-8">
                                            <?php 
                                                echo $this->Form->input('name', array('div'=>array('class'=>'form-group'), 'label'=>array('class'=>'form-label'), 'class'=>'form-control','required'=>'required'));
                                                echo $this->Form->input('username', array('div'=>array('class'=>'form-group'), 'label'=>array('class'=>'form-label'), 'class'=>'form-control','required'=>'required'));
                                                echo $this->Form->input('password', array('div'=>array('class'=>'form-group'), 'label'=>array('class'=>'form-label'), 'class'=>'form-control','required'=>'required'));
                                                $types = [ 'Outlet' => 'Outlet','DC' => 'DC'];
                                                echo $this->Form->input('type', array(
                                                    'div' => array('class' => 'form-group'),
                                                    'label' => array('class' => 'form-label'),
                                                    'options' => $types,
                                                    'class' => 'form-control',
                                                    'required' => 'required'
                                                ));
                                                echo $this->Form->input('state', [
                                                    'type'     => 'select',
                                                    'options'  => $indiaStates,
                                                    'empty'    => 'Select State',
                                                    'label'    => 'State',
                                                    'required' => true,
                                                    'class'    => 'form-control',
                                                    'div'      => ['class' => 'form-group'],
                                                    'between'  => '<span class="desc"></span><div class="controls">',
                                                    'after'    => '</div>'
                                                ]);
                                                
                                                echo $this->Form->input('print_line1', array( 'label'=>'Brand Name', 'class'=>'form-control'));
                                                echo '<br>'.$this->Form->input('print_line2', array( 'label'=>'Address Line 1', 'class'=>'form-control'));
                                                echo '<br>'.$this->Form->input('print_line3', array( 'label'=>'Address Line 2', 'class'=>'form-control'));
                                                echo '<br>'.$this->Form->input('print_line4', array( 'label'=>'Other Attribute 1', 'class'=>'form-control'));
                                                echo '<br>'.$this->Form->input('print_line5', array( 'label'=>'Other Attribute 2', 'class'=>'form-control'));
                                                echo '<br>'.$this->Form->input('print_line6', array( 'label'=>'Other Attribute 3', 'class'=>'form-control'));
                                                echo '<br>'.$this->Form->input('print_line7', array( 'label'=>'Other Attribute 4', 'class'=>'form-control'));
                                                echo '<br>'.$this->Form->input('print_line8', array( 'label'=>'Other Attribute 5', 'class'=>'form-control'));
                                                echo '<br>'.$this->Form->input('print_line9', array( 'label'=>'Other Attribute 6', 'class'=>'form-control'));
                                                echo '<br>'.$this->Form->input('print_line10', array( 'label'=>'Other Attribute 7', 'class'=>'form-control'));
                                                echo '<br>'.$this->Form->input('footer_msg', array( 'label'=>'Footer Message', 'class'=>'form-control'));
                                                echo '<br>'.$this->Form->input('currency_symbol', array( 'label'=>'Currency Symbol', 'class'=>'form-control'));
                                                
?>
                                    </div>
                                    </div>
                                    <a href="location_list"><button  class='btn btn-danger' type="button">Cancel</button></a>
                                    <?php echo $this->Form->button('Save', array('class'=>'btn btn-success', 'type'=>'submit', 'id' => 'submitBtn')); ?>
                                </div>
                            </div>
                        </div> 
                    </div>
                    
<style>
    .hidden{
        display:none;
    }
    
</style>