<div class="tab-pane" id="home8" role="tabpanel">
    <div class="p-20">
        <form action="<?php echo base_url(); ?>manutencao/editar" method="post" name="formAddPreventiva"
              id="formAddPreventiva"
              class="floating-labels m-t-40">
            <div class="form-body">
                <input type="hidden" id="preventiva_id" name="preventiva_id"
                       value="<?php echo $preventivaEditar->ID_PREVENTIVA ?>">
                <input type="hidden" id="idVeiculo" name="idVeiculo"
                       value="<?php echo $preventivaEditar->VEICULO_ID ?>">
                <div class="row p-t-20 ">
                    <!--                    --><?php //var_dump($preventivaEditar)?>
                    <div class="form-group col-lg-4">
                        <input type="text" class="form-control"
                               required value="<?php echo $preventivaEditar->PREFIXO ?>">
                        <span class="bar"></span>
                        <label for="input1">Prefixo Veículo <i class="fa fa-search"></i></label>
                    </div>

                    <div class="form-group col-lg-3">
                        <input type="text" class="form-control text-center"
                               required value="<?php echo $preventivaEditar->PLACA ?>">
                        <span class="bar"></span>
                        <label for="input1">Placa</label>
                    </div>
                    <div class="form-group col-lg-4 ">
                        <input type="text" class="form-control text-center"
                               required value="<?php echo $preventivaEditar->GARAGEM ?>">
                        <span class="bar"></span>
                        <label for="input1">Garagem</label>
                    </div>
                </div>


                <div class="row p-t-20 ">
                    <div class="form-group col-lg-4">
                        <select name="funcionario_id" id="funcionario_id" class="form-control m-b"
                                required>
                            <option><?php echo $preventivaEditar->DS_TIPO_MANUTENCAO=='P'?'Preventiva':'Corretiva' ?></option>
                        </select>

                        <label for="input1">Tipo Manutenção</label>
                    </div>
                    <div class="form-group col-lg-4">
                        <select name="funcionario_id" id="funcionario_id" class="form-control m-b"
                                required>
                            <option value="<?php echo $preventivaEditar->FUNCIONARIO_ID ?>"><?php echo $preventivaEditar->nomeFuncionario ?></option>
                            <option value="">--------------------------------------------</option>
                            <?php
                            foreach ($resultscomboFuncionarios as $r) {
                                ?>
                                <option value="<?php echo $r->idFuncionario ?>"><?php echo $r->nomeFuncionario ?></option>
                            <?php } ?>
                        </select>

                        <label for="input1">Técnico</label>
                    </div>

                    <div class="form-group col-lg-4">
                        <input type="date" class="form-control text-center" id="dataPreventiva"
                               name="dataPreventiva"
                               required value="<?php echo $preventivaEditar->DT_PREVENTIVA ?>">
                        <span class="bar"></span>
                        <label for="input1">Data da Preventiva</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>