frontend/models/forms/SignupForm.php
/**
     * attribute for input fields.
     *
     * @return array
     */
attribute for input fields.
@return array
attribute for input fields . @return array
public function attributeLabels()
    {
        return [
            'rememberMe'       => Yii::t('forms/login-signup-form', 'rememberMe'),
            'user_name'        => Yii::t('forms/login-signup-form', 'user_name'),
            'user_email'       => Yii::t('forms/login-signup-form', 'user_email'),
            'password'         => Yii::t('forms/login-signup-form', 'password'),
            'password_repeat'  => Yii::t('forms/login-signup-form', 'password_repeat'),
            'reCaptchaSignup1' => Yii::t('forms/login-signup-form', 'reCaptcha'),
            'promo_code'       => Yii::t('forms/login-signup-form', 'promo_code'),
        ];
    }
public function attributeLabels ( ) { return [ 'rememberMe' => Yii :: t ( 'forms/login-signup-form' , 'rememberMe' ) , 'user_name' => Yii :: t ( 'forms/login-signup-form' , 'user_name' ) , 'user_email' => Yii :: t ( 'forms/login-signup-form' , 'user_email' ) , 'password' => Yii :: t ( 'forms/login-signup-form' , 'password' ) , 'password_repeat' => Yii :: t ( 'forms/login-signup-form' , 'password_repeat' ) , 'reCaptchaSignup1' => Yii :: t ( 'forms/login-signup-form' , 'reCaptcha' ) , 'promo_code' => Yii :: t ( 'forms/login-signup-form' , 'promo_code' ) , ] ; }
attribute for input fields.
attribute for input fields .