<div id="adicionarPecas" class="modal-demo">
    <button type="button" class="close" onclick="Custombox.close();">
        <span>&times;</span><span class="sr-only">Close</span>
    </button>
    <h4 class="custom-modal-title">Cadastrar Peça</h4>
    <div class="custom-modal-text">
        <form action="<?php echo base_url(); ?>pecas/adicionar" method="post" name="formUsuario" id="formUsuario" class="floating-labels m-t-40">
            <div class="form-body">
                <h3 class="card-title">Informações Básicas</h3>
                <hr>

                <div class="row p-t-20 ">
                    <div class="form-group col-lg-12">
                        <input type="text" class="form-control" id="descricaoPeca" name="descricaoPeca"
                               required>
                        <span class="bar"></span>
                        <label for="input1">Descrição</label>
                    </div>
                </div>

                <div class="row p-t-20 ">

                    <!--/span-->
                    <div class="form-group col-lg-6">
                        <select name="grupo" id="grupo" class="form-control" required>
                            <option value=""></option>
                            <option value="Eletrica">Eletrica</option>
                            <option value="Refrigeração">Refrigeração</option>
                            <option value="Mecânica">Mecânica</option>
                            <option value="Insumos">Insumos</option>
                        </select>
                        <span class="bar"></span>
                        <label for="input1">Grupo</label>
                    </div>

                    <div class="form-group col-lg-6">
                        <input type="text" class="form-control" id="fabricante"
                               name="fabricante"
                               required>
                        <span class="bar"></span>
                        <label for="input1">Fabricante</label>
                    </div>


                </div>

                <div class="row p-t-20 ">


                    <div class="form-group col-lg-6">
                        <input type="text" class="form-control" id="marca" name="marca"
                               required>
                        <span class="bar"></span>
                        <label for="input1">Marca</label>
                    </div>

                    <div class="form-group col-lg-6">
                        <input type="text" class="form-control" id="referencia"
                               name="referencia"
                               required>
                        <span class="bar"></span>
                        <label for="input1">Referência</label>
                    </div>
                    <!--/span-->
                </div>



                <div class="row p-t-20 ">
                    <div class="form-group col-lg-4">
                        <input type="text" class="form-control inputmask" id="vidaUtil"
                               name="vidaUtil"
                               data-inputmask="'alias': 'numeric', 'digits': 0, 'suffix': ' \\Mês\\s', 'rightAlign': false, 'allowMinus': false, 'radixPoint': ','"
                               required>
                        <span class="bar"></span>
                        <label for="input1">Vida Útil</label>
                    </div>


                    <div class="form-group col-lg-4">
                        <input type="text" class="form-control inputmask" id="garantia"
                               name="garantia"
                               data-inputmask="'alias': 'numeric', 'digits': 0, 'suffix': ' \\Mês\\s', 'rightAlign': false, 'allowMinus': false, 'radixPoint': ','"
                               required>
                        <span class="bar"></span>
                        <label for="input1">Garantia</label>
                    </div>


                    <div class="form-group col-lg-4">
                        <select name="unidadeMedida" id="unidadeMedida" class="form-control" required>
                            <option value=""></option>
                            <option value="Kg">Kilo</option>
                            <option value="Mt">Metro</option>
                            <option value="Un">Unidade</option>
                        </select>
                        <span class="bar"></span>
                        <label for="input1">Unidade</label>
                    </div>
                </div>



            </div>
            <div class="modal-footer">
                <a onclick="Custombox.close();" class="btn btn-default"><i
                            class="icon-arrow-left"></i> Voltar</a>

                <button type="submit" class="btn btn-success"><i class="fa fa-save"></i> Save</button>
            </div>
        </form>
    </div>
</div>