Commit 2c3a427802f154685cda4e77b9657211750099e4
1 parent
e600c706
Контакты
Showing
2 changed files
with
10 additions
and
6 deletions
Show diff stats
common/messages/ru/core.php
... | ... | @@ -53,6 +53,6 @@ return [ |
53 | 53 | 'Created At' => 'Создано', |
54 | 54 | 'Updated At' => 'Обновлено', |
55 | 55 | 'Visited At' => 'Последнее посещение', |
56 | - 'page_id' => 'fsdfd', | |
57 | - 'Create {item}' => 'Создать {item}', | |
56 | + 'page_id' => 'ID страницы', | |
57 | + 'Create {item}' => 'Создать {item}', | |
58 | 58 | ]; |
59 | 59 | \ No newline at end of file | ... | ... |
frontend/views/site/contact.php
... | ... | @@ -158,16 +158,19 @@ JS; |
158 | 158 | <div class="row"> |
159 | 159 | <div class="col-sm-12"> |
160 | 160 | <?= $form->field($contact, 'name') |
161 | - ->textInput(); ?> | |
161 | + ->textInput() | |
162 | + ->label('Имя'); ?> | |
162 | 163 | </div> |
163 | 164 | |
164 | 165 | <div class="col-sm-6"> |
165 | 166 | <?= $form->field($contact, 'email') |
166 | - ->textInput(); ?> | |
167 | + ->textInput() | |
168 | + ->label('Email'); ?> | |
167 | 169 | </div> |
168 | 170 | <div class="col-sm-6"> |
169 | 171 | <?= $form->field($contact, 'phone') |
170 | - ->textInput(); ?> | |
172 | + ->textInput() | |
173 | + ->label('Телефон'); ?> | |
171 | 174 | </div> |
172 | 175 | <div class="col-sm-12"> |
173 | 176 | <?= $form->field($contact, 'message') |
... | ... | @@ -175,7 +178,8 @@ JS; |
175 | 178 | [ |
176 | 179 | 'rows' => 3, |
177 | 180 | ] |
178 | - ); ?> | |
181 | + ) | |
182 | + ->label('Сообщение'); ?> | |
179 | 183 | </div> |
180 | 184 | |
181 | 185 | <div class="col-sm-12 text-center"> | ... | ... |