<div class="tab-pane " id="home8" role="tabpanel">
    <div class="p-20">
        <form action="<?php echo base_url(); ?>pecas/editar" 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>
                <input type="hidden" id="idPeca" name="idPeca" value="<?php echo $pecas->ID_PECA ?>">
                <hr>

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

                <div class="row p-t-20 ">
                    <div class="form-group col-lg-6">
                        <select name="aplicacao" id="aplicacao" class="form-control m-b"
                                required>
                            <option  value="<?php echo $pecas->DS_DESCRICAO_PECA ?>"><?php echo $pecas->DS_DESCRICAO_PECA=='P'?'Padron':'Articulado' ?></option>
                            <option  value="">-----------------------------------</option>
                            <option  value="P">Padron</option>
                            <option  value="A">BRT/Articulado</option>
                        </select>
                        <span class="bar"></span>
                        <label for="input1">Aplicação</label>
                    </div>
                    <!--/span-->
                    <div class="form-group col-lg-6">
                        <select name="grupo" id="grupo" class="form-control" required>
                            <option  value="<?php echo $pecas->DS_GRUPO ?>"><?php echo $pecas->DS_GRUPO?></option>
                            <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>

                <div class="row p-t-20 ">
                    <div class="form-group col-lg-4">
                        <input type="text" class="form-control" id="fabricante"
                               name="fabricante"
                               value="<?php echo $pecas->DS_FABRICANTE ?>"
                               required>
                        <span class="bar"></span>
                        <label for="input1">Fabricante</label>
                    </div>

                    <div class="form-group col-lg-4">
                        <input type="text" class="form-control" id="marca" name="marca"
                               value="<?php echo $pecas->DS_MARCA ?>"
                               required>
                        <span class="bar"></span>
                        <label for="input1">Marca</label>
                    </div>

                    <div class="form-group col-lg-4">
                        <input type="text" class="form-control" id="referencia"
                               name="referencia"
                               value="<?php echo $pecas->DS_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"
                        value="<?php echo $pecas->NU_MESES_VIDA_UTIL ?>"
                               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"
                               value="<?php echo $pecas->NU_MESES_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="<?php echo $pecas->DS_UNIDADE_MEDIDA ?>"><?php echo $pecas->DS_UNIDADE_MEDIDA?></option>
                            <option  value="">-----------------------------------</option>
                            <option value="Kg">Kilo</option>
                            <option value="Mt">Metro</option>
                            <option value="Lt">Litro</option>
                            <option value="Un">Unidade</option>
                        </select>
                        <span class="bar"></span>
                        <label for="input1">Unidade</label>
                    </div>
                </div>



            </div>
            <div class="modal-footer">
                <button type="submit" class="btn btn-warning"><i class="fa fa-save"></i> Editar</button>
            </div>
        </form>
    </div>
</div>