Commit 226de2e682f8d3a15e324e7f76021bf73c5d9bf1
1 parent
0f712ced
-translated form labels
Showing
4 changed files
with
10 additions
and
7 deletions
Show diff stats
common/messages/ru/app.php
@@ -18,4 +18,7 @@ | @@ -18,4 +18,7 @@ | ||
18 | 'Are you sure you want to delete this item?' => 'Вы уверены, что хотите удалить этот объект?', | 18 | 'Are you sure you want to delete this item?' => 'Вы уверены, что хотите удалить этот объект?', |
19 | 'Settings' => 'Настройки', | 19 | 'Settings' => 'Настройки', |
20 | 'Submit comment' => 'Отправить комментарий', | 20 | 'Submit comment' => 'Отправить комментарий', |
21 | + 'Username' => 'Имя', | ||
22 | + 'Email' => 'Email', | ||
23 | + 'Text' => 'Текст сообщения', | ||
21 | ]; | 24 | ]; |
22 | \ No newline at end of file | 25 | \ No newline at end of file |
frontend/views/comment/artbox_comment_form.php
@@ -51,12 +51,12 @@ | @@ -51,12 +51,12 @@ | ||
51 | } | 51 | } |
52 | if (\Yii::$app->user->isGuest) { | 52 | if (\Yii::$app->user->isGuest) { |
53 | echo $form->field($comment_model, 'username', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) | 53 | echo $form->field($comment_model, 'username', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) |
54 | - ->textInput(); | 54 | + ->textInput()->label('Ваше имя'); |
55 | echo $form->field($comment_model, 'email', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) | 55 | echo $form->field($comment_model, 'email', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) |
56 | - ->textInput([ 'options' => [ 'class' => 'form-control' ] ]); | 56 | + ->textInput([ 'options' => [ 'class' => 'form-control' ] ])->label('Email'); |
57 | } | 57 | } |
58 | echo $form->field($comment_model, 'text', [ 'options' => [ 'class' => 'form-group input_bl area_bl' ] ]) | 58 | echo $form->field($comment_model, 'text', [ 'options' => [ 'class' => 'form-group input_bl area_bl' ] ]) |
59 | - ->textarea(); | 59 | + ->textarea()->label('Текст сообщения'); |
60 | echo Html::tag( | 60 | echo Html::tag( |
61 | 'div', | 61 | 'div', |
62 | Html::submitButton( | 62 | Html::submitButton( |
frontend/views/site/comment/artbox_comment_form.php
@@ -50,12 +50,12 @@ | @@ -50,12 +50,12 @@ | ||
50 | } | 50 | } |
51 | if (\Yii::$app->user->isGuest) { | 51 | if (\Yii::$app->user->isGuest) { |
52 | echo $form->field($comment_model, 'username', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) | 52 | echo $form->field($comment_model, 'username', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) |
53 | - ->textInput(); | 53 | + ->textInput()->label('Ваше имя'); |
54 | echo $form->field($comment_model, 'email', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) | 54 | echo $form->field($comment_model, 'email', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) |
55 | - ->textInput(); | 55 | + ->textInput()->label('Email'); |
56 | } | 56 | } |
57 | echo $form->field($comment_model, 'text', [ 'options' => [ 'class' => 'form-group input_bl area_bl' ] ]) | 57 | echo $form->field($comment_model, 'text', [ 'options' => [ 'class' => 'form-group input_bl area_bl' ] ]) |
58 | - ->textarea(); | 58 | + ->textarea()->label('Текст сообщения'); |
59 | echo Html::tag( | 59 | echo Html::tag( |
60 | 'div', | 60 | 'div', |
61 | Html::submitButton( | 61 | Html::submitButton( |
frontend/web/css/custom.css
@@ -470,7 +470,7 @@ div.modal-title{ | @@ -470,7 +470,7 @@ div.modal-title{ | ||
470 | text-decoration:none; | 470 | text-decoration:none; |
471 | } | 471 | } |
472 | .footer-copyrights{ | 472 | .footer-copyrights{ |
473 | - margin-top:-55px; | 473 | + margin-top:-15px; |
474 | } | 474 | } |
475 | #blog-listing-big .post .author-category, #blog-homepage .post .author-category { | 475 | #blog-listing-big .post .author-category, #blog-homepage .post .author-category { |
476 | color: #999999; | 476 | color: #999999; |