Commit 7191275504628573c7d18015d104b99363633f0b
1 parent
149959cb
Убрал маску с телефона, выронял figcapture
Showing
4 changed files
with
12 additions
and
6 deletions
Show diff stats
frontend/models/Feedback.php
... | ... | @@ -6,19 +6,19 @@ |
6 | 6 | */ |
7 | 7 | |
8 | 8 | namespace frontend\models; |
9 | - | |
10 | 9 | use artbox\core\models\Feedback as ArtboxCoreFeedback; |
11 | 10 | |
11 | + | |
12 | 12 | class Feedback extends ArtboxCoreFeedback |
13 | 13 | { |
14 | - public function rules() | |
14 | + public function rules() | |
15 | 15 | { |
16 | 16 | return [ |
17 | 17 | [ |
18 | 18 | [ |
19 | 19 | 'name', |
20 | 20 | 'email', |
21 | - 'phone', | |
21 | + 'phone', | |
22 | 22 | ], |
23 | 23 | 'required', |
24 | 24 | 'on' => self::SCENARIO_DEFAULT, |
... | ... | @@ -47,7 +47,6 @@ class Feedback extends ArtboxCoreFeedback |
47 | 47 | 'email', |
48 | 48 | 'message' => \Yii::t('app', 'Wrong email'), |
49 | 49 | ], |
50 | - | |
51 | 50 | [ |
52 | 51 | [ |
53 | 52 | 'name', |
... | ... | @@ -73,6 +72,7 @@ class Feedback extends ArtboxCoreFeedback |
73 | 72 | 'returnUrl', |
74 | 73 | 'safe', |
75 | 74 | ], |
75 | + | |
76 | 76 | ]; |
77 | 77 | } |
78 | 78 | ... | ... |
frontend/views/gallery/index.php
... | ... | @@ -26,7 +26,8 @@ |
26 | 26 | $gallery->image->getPath() |
27 | 27 | )[ 0 ] ?>x<?= getimagesize($gallery->image->getPath() |
28 | 28 | )[ 1 ] ?>"> |
29 | - <figcaption class="image_figcapture"> <?=$gallery->language->title;?></figcaption> | |
29 | + <figcaption class="image_figcapture figcaption_h_40px" | |
30 | + > <?= $gallery->language->title; ?></figcaption> | |
30 | 31 | <img src="<?= ImageHelper::set($gallery->image->getPath()) |
31 | 32 | ->cropResize(360, 216) |
32 | 33 | ->quality(82) | ... | ... |
frontend/views/site/contact.php
frontend/web/css/site.css