Commit 2c3a427802f154685cda4e77b9657211750099e4

Authored by Eugeny Galkovskiy
1 parent e600c706

Контакты

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