<?php
if (User::getUser()->FUN_TBL_SINCRONIZACAO != 1) {
    die;
}
$this->PageTitle = 'Prospectos / Clientes &raquo; Sincronização';
?>
    
<div class="form">
    <form id="motivos-form" action="<?php echo Yii::app()->request->baseUrl ?>/index.php?r=clientes/sincronizacao" method="post">
        <div class='col-xs-12'>
            <p class="color-blue note col-md-4">
                Campos com <span class="required">*</span> s&atilde;o obrigat&oacute;rios.
            </p>
            <div class='clearfix'></div>
            <?php
                $messageTypes = array('error', 'danger', 'success', 'info', 'warning');
                foreach($messageTypes as $messagetype) {
                    if(Yii::app()->user->hasFlash($messagetype)) {
                        echo FaHtml::alert(Yii::app()->user->getFlash($messagetype), $messagetype);
                    }
                }
            ?>
        </div>

        <div class="row">
            <label for="De" class="required">De <span class="required">*</span></label>
            <input maxlength="10" name="De" id="De" type="text" />
        </div><!-- row -->
        <div class="row">
            <label for="Para" class="required">Para <span class="required">*</span></label>
            <input maxlength="10" name="Para" id="Para" type="text" />
        </div><!-- row -->

        <?php echo FaHtml::saveButton('Salvar', array('value' => 'submit')); ?>
    </form>

</div><!-- form -->