
<section class="content">
    <div class="row">
        <div class="col-sm-12">
            <div class="box" style="border-top: 2.5px solid #004785; padding:0 15px">
                <div class="box-body">
                    <?=(isset($customers_type['id'])?form_open("customers_type/edit/".$customers_type['id']):form_open("customers_type/add"));?>
                        <div class="row">
                            <div class="col-lg-6">
                                <div class="form-group">
                                    <label for="customers_type"><?=lang("name")?> </label>
                                    <input id="customers_type" class="form-control" type="text" name="tipoCustomer" value="<?=isset($form_data['customers_type'])?$form_data['customers_type']: ((isset($customers_type['customers_type'])) ? $customers_type['customers_type']:set_value('customers_type'))?>" maxlength="80">
                                </div>
                            </div>
                        </div>
                            <div class="row">
                                <div class="col-md-12 text-right">
                                    <button type="submit" class="btn btn-primary"><?=lang("Accept")?></button>
                                    <a href="<?=site_url("customers_type/")?>" type="submit" class="btn btn-danger"><?=lang("Cancel")?></a>
                                </div>
                            </div>
                        </div>
                    <?php echo form_close();?>
                </div>
            </div>
        </div>
    </div>
</section>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>

