|
62 | 62 | 'user_name' => [
|
63 | 63 | 'type' => 'text',
|
64 | 64 | 'label' => 'Username',
|
| 65 | + 'icon' => 'fa fa-fw fa-edit', |
65 | 66 | 'validator' => [
|
66 | 67 | 'minLength' => 1,
|
67 | 68 | 'maxLength' => 25,
|
68 | 69 | 'label' => 'Username'
|
69 | 70 | ],
|
70 |
| - 'placeholder' => 'Please enter the user name' |
| 71 | + 'placeholder' => 'User name' |
71 | 72 | ],
|
72 | 73 | 'display_name' => [
|
73 | 74 | 'type' => 'text',
|
74 | 75 | 'label' => 'Display Name',
|
| 76 | + 'icon' => 'fa fa-fw fa-edit', |
75 | 77 | 'validator' => [
|
76 | 78 | 'minLength' => 1,
|
77 | 79 | 'maxLength' => 50,
|
78 | 80 | 'label' => 'Display name'
|
79 | 81 | ],
|
80 |
| - 'placeholder' => 'Please enter the display name' |
| 82 | + 'placeholder' => 'Display name' |
81 | 83 | ],
|
82 | 84 | 'email' => [
|
83 | 85 | 'type' => 'text',
|
84 | 86 | 'label' => 'Email',
|
85 |
| - 'icon' => 'fa fa-envelope', |
| 87 | + 'icon' => 'fa fa-fw fa-envelope', |
86 | 88 | 'validator' => [
|
87 | 89 | 'minLength' => 1,
|
88 | 90 | 'maxLength' => 150,
|
89 | 91 | 'email' => true,
|
90 | 92 | 'label' => 'Email'
|
91 | 93 | ],
|
92 |
| - 'placeholder' => 'Email goes here' |
| 94 | + 'placeholder' => 'Email address' |
93 | 95 | ],
|
94 | 96 | 'password' => [
|
95 | 97 | 'type' => 'password',
|
96 | 98 | 'label' => 'Password',
|
97 |
| - 'icon' => 'fa fa-key', |
| 99 | + 'icon' => 'fa fa-fw fa-key', |
98 | 100 | 'validator' => [
|
99 | 101 | 'minLength' => 8,
|
100 | 102 | 'maxLength' => 50,
|
101 | 103 | 'label' => 'Password',
|
102 | 104 | 'passwordMatch' => 'passwordc'
|
103 |
| - ] |
| 105 | + ], |
| 106 | + 'placeholder' => '8-50 characters' |
104 | 107 | ],
|
105 | 108 | 'passwordc' => [
|
106 | 109 | 'type' => 'password',
|
107 | 110 | 'label' => 'Confirm password',
|
108 |
| - 'icon' => 'fa fa-key', |
| 111 | + 'icon' => 'fa fa-fw fa-key', |
109 | 112 | 'validator' => [
|
110 | 113 | 'minLength' => 8,
|
111 | 114 | 'maxLength' => 50,
|
112 | 115 | 'label' => 'Password'
|
113 |
| - ] |
| 116 | + ], |
| 117 | + 'placeholder' => 'Re-enter your password' |
| 118 | + |
114 | 119 | ],
|
115 | 120 | 'captcha' => [
|
116 | 121 | 'type' => 'text',
|
117 | 122 | 'label' => 'Confirm Security Code',
|
118 |
| - 'icon' => 'fa fa-eye', |
| 123 | + 'icon' => 'fa fa-fw fa-eye', |
119 | 124 | 'validator' => [
|
120 | 125 | 'minLength' => 1,
|
121 | 126 | 'maxLength' => 50,
|
122 | 127 | 'label' => 'Security code'
|
123 |
| - ] |
| 128 | + ], |
| 129 | + 'placeholder' => "Enter the code below, human!" |
124 | 130 | ]
|
125 | 131 | ];
|
126 | 132 |
|
|
0 commit comments