コード例 #1
0
ファイル: _form.php プロジェクト: pyw5pkU9PcdW/COMP3421
?>

    <?php 
echo $form->field($model, 'first_name')->textInput(['maxlength' => true]);
?>

    <?php 
echo $form->field($model, 'last_name')->textInput(['maxlength' => true]);
?>

    <?php 
echo $form->field($model, 'email')->textInput(['maxlength' => true]);
?>

    <?php 
echo $form->field($role, 'name')->dropDownList(\app\models\AuthItem::getRootRoles(), array('prompt' => '-- Select a User Type --'));
?>

    <?php 
echo $form->field($model, 'address')->textInput(['maxlength' => true]);
?>

    <?php 
echo $form->field($model, 'city')->textInput(['maxlength' => true]);
?>

    <?php 
echo $form->field($model, 'country')->dropDownList(\app\models\Country::getCountryOptions(), array('prompt' => '-- Select a Title --'));
?>

    <?php