コード例 #1
0
ファイル: contacad.php プロジェクト: juniormelo/eimoveis
        <div class="col-xs-12">
            <!-- PAGE CONTENT BEGINS -->
            <div class="row">
                <div class="col-xs-12"><br />                    
                    <form id="fmCadConta" class="form-horizontal" role="form" name="fmCadConta" method="post" action="app/control/backend/contaGravar.php">
                        <input type="hidden" id="idContaBanco" name="idContaBanco" value="<?php 
echo $conta->getIdContaBanco();
?>
" />
                        <div class="form-group">
                            <label for="idBanco" class="col-sm-2 control-label no-padding-right" style="font-weight: bold;">Banco:</label>
                            <div class="col-sm-9">
                                <select id="idBanco" class="col-xs-10 col-sm-5" name="idBanco">                              
                                    <?php 
$banco = new Banco(Conf::pegCnxPadrao());
Utilitarios::preencheComboDB($banco->getCadastrados(), $conta->getIdBanco());
?>
                                </select>
                            </div>  
                        </div>
                        <div class="form-group">
                            <label for="descricao" class="col-sm-2 control-label no-padding-right" style="font-weight: bold;">Descrição da conta:</label>
                            <div class="col-sm-9">
                                <input type="text" id="descricao" class="col-xs-10 col-sm-5 obrigatorio" name="descricao" value="<?php 
echo $conta->getDescricao();
?>
" maxlength="200" title="Descrição da conta"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="agencia" class="col-sm-2 control-label no-padding-right" style="font-weight: bold;">Agência:</label>