예제 #1
0
?>

    <?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 
echo $form->field($model, 'department')->textInput(['maxlength' => true]);
?>

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

    <?php 
echo $form->field($model, 'mobile_number')->textInput();
?>

    <?php