Blame view

frontend/views/mail/_feedback.php 976 Bytes
3679cdb6   Alexey Boroda   -Email sending added
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
  <?php
      
      /**
       * @var View     $this
       * @var Feedback $model
       */
      
      use frontend\models\Feedback;
      use yii\web\View;
  
  ?>
  
  <!doctype html>
  <html lang="ru">
    <head>
      <meta charset="UTF-8">
      <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
      <meta http-equiv="X-UA-Compatible" content="ie=edge">
      <title>Заявка</title>
      <style>
        .b {
          font-weight: bold;
        }
      </style>
    </head>
    <body>
      <table>
        <tr>
          <td class="b">Имя:</td>
          <td><?= $model->name ?></td>
        </tr>
        <tr>
          <td class="b">E-mail:</td>
          <td><?= $model->email ?></td>
        </tr>
        <tr>
          <td class="b">Телефон:</td>
          <td><?= $model->phone ?></td>
        </tr>
        <tr>
          <td class="b">Сообщение:</td>
          <td><?= $model->message ?></td>
        </tr>
      </table>
    </body>
  </html>