<div class="col-lg-2 col-md-2">
    <div class="form-group">
        <?= lang("brand_code", "brand_code"); ?>
        <?php echo form_input('brand_code', set_value('brand_code',(isset($form_data['brand_code'])?$form_data['brand_code']:(isset($brand->code)?$brand->code:""))), 'class="form-control" id="brand_code" required="required" maxlength="10"'); ?>
    </div>
</div>
<div class="col-lg-10 col-md-10">
    <div class="form-group">
        <?= lang("brand_name", "brand_name"); ?>
        <?php echo form_input('brand_name', set_value('brand_name',(isset($form_data['brand_name'])?$form_data['brand_name']:(isset($brand->brand)?$brand->brand:""))), 'class="form-control" id="brand_name" required="required" maxlength="80"'); ?>
    </div>
</div>