コード例 #1
0
ファイル: _form.php プロジェクト: megabr/web3cms
    }
    ?>
<div class="w3-form-row">
  <div class="w3-form-row-label"><?php 
    echo _CHtml::activeLabel($model->allManager2Project[0], 'managerId');
    ?>
</div>
  <div class="w3-form-row-input">
    <?php 
    echo _CHtml::activeDropDownList($model->allManager2Project[0], 'userId', $model->allManager2Project[0]->getAttributeData('managerId'), array('class' => 'w3-input-text ui-widget-content ui-corner-all')) . "\n";
    ?>
  </div>
  <div class="clear">&nbsp;</div>
</div>
<?php 
    echo _CHtml::activeHiddenField($model->allManager2Project[0], 'role') . "\n";
}
/* end manager2project */
?>
<div class="w3-form-row">
  <div class="w3-form-row-label"><?php 
echo _CHtml::activeLabelEx($model, 'hourlyRate');
?>
</div>
  <div class="w3-form-row-input">
    <?php 
echo _CHtml::activeTextField($model, 'hourlyRate', array('class' => 'w3-input-text w3-input-w25percents ui-widget-content ui-corner-all', 'maxlength' => 9)) . "\n";
?>
  </div>
  <div class="clear">&nbsp;</div>
</div>
コード例 #2
0
ファイル: _form.php プロジェクト: megabr/web3cms
    }
    ?>
<div class="w3-form-row">
  <div class="w3-form-row-label"><?php 
    echo _CHtml::activeLabel($model->allConsultant2Task[0], 'consultantId');
    ?>
</div>
  <div class="w3-form-row-input">
    <?php 
    echo _CHtml::activeDropDownList($model->allConsultant2Task[0], 'userId', $model->allConsultant2Task[0]->getAttributeData('consultantId'), array('class' => 'w3-input-text ui-widget-content ui-corner-all')) . "\n";
    ?>
  </div>
  <div class="clear">&nbsp;</div>
</div>
<?php 
    echo _CHtml::activeHiddenField($model->allConsultant2Task[0], 'role') . "\n";
}
/* end consultant2task */
?>
<div class="w3-form-row">
  <div class="w3-form-row-label"><?php 
echo _CHtml::activeLabelEx($model, 'title');
?>
</div>
  <div class="w3-form-row-input">
    <?php 
echo _CHtml::activeTextField($model, 'title', array('class' => 'w3-input-text w3-input-w200percents ui-widget-content ui-corner-all', 'maxlength' => 255)) . "\n";
?>
  </div>
  <div class="clear">&nbsp;</div>
</div>
コード例 #3
0
ファイル: login.php プロジェクト: megabr/web3cms
<?php

MParams::setPageLabel(Yii::t('page', 'Login'));
MUserFlash::setTopError(_CHtml::errorSummary($form));
MUserFlash::setSidebarInfo(Yii::t('hint', 'Hint: You may login with <tt>demo/demo</tt> or <tt>admin/admin</tt>.'));
$this->widget('application.components.WContentHeader', array('breadcrumbs' => array(array('url' => array($this->action->id), 'active' => true))));
?>
<div class="w3-main-form-box ui-widget-content ui-corner-all">

<?php 
echo _CHtml::beginForm('', 'post', array('class' => 'w3-main-form')) . "\n";
echo _CHtml::activeHiddenField($form, 'loginWithField') . "\n";
?>

<div class="w3-form-row w3-first">
  <div class="w3-form-row-label"><?php 
echo _CHtml::activeLabelEx($form, $form->getLoginWithField());
?>
</div>
  <div class="w3-form-row-input">
    <?php 
echo _CHtml::activeTextField($form, $form->getLoginWithField(), array('class' => 'w3-input-text ui-widget-content ui-corner-all')) . "\n";
?>
  </div>
  <div class="clear">&nbsp;</div>
</div>
<div class="w3-form-row">
  <div class="w3-form-row-label"><?php 
echo _CHtml::activeLabelEx($form, 'password');
?>
</div>
コード例 #4
0
ファイル: _form.php プロジェクト: megabr/web3cms
    ?>
</div>
  <div class="w3-form-row-input">
    <?php 
    echo _CHtml::activeDropDownList($model->allUser2Company[0], 'userId', $model->allUser2Company[0]->getAttributeData('userId'), array('class' => 'w3-input-text ui-widget-content ui-corner-all')) . "\n";
    ?>
  </div>
  <div class="clear">&nbsp;</div>
</div>
<?php 
}
/* end user2company */
/* start location */
if (isset($model->allLocation[0])) {
    if ($model->allLocation[0]->id !== null) {
        echo _CHtml::activeHiddenField($model->allLocation[0], 'id') . "\n";
    }
    ?>
<div class="w3-form-row">
  <div class="w3-form-row-label"><?php 
    echo _CHtml::activeLabel($model->allLocation[0], 'address1');
    ?>
</div>
  <div class="w3-form-row-input">
    <?php 
    echo _CHtml::activeTextField($model->allLocation[0], 'address1', array('class' => 'w3-input-text w3-input-w200percents ui-widget-content ui-corner-all')) . "\n";
    ?>
  </div>
  <div class="clear">&nbsp;</div>
</div>
<div class="w3-form-row">