Blame view

frontend/mail/views/feedback/index.php 1.41 KB
d1f8bd40   Alexey Boroda   first commit
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
47
48
49
50
51
52
53
54
55
56
  <?php
  use yii\helpers\Html;
  use frontend\themes\defaults\assets\AppAsset;
  
  /**
   *
   * @author FilamentV <vortex.filament@gmail.com>
   * @copyright (c), Thread
   *
   * @var $question \frontend\modules\form\modules\feedback\models\Question
   * @var $params \thread\modules\sys\modules\configs\components\ConfigsParams
   */
  $asset = AppAsset::register($this);
  $params = Yii::$app->param;
  ?>
  <!-- page-title start -->
  <!-- ================ -->
  <h1 class="page-title">
      <?= Yii::t('form', 'Feedback') ?>
  </h1>
  <!-- page-title end -->
  <table border="0" cellpadding="3" cellspacing="0" width="100%" style="padding: 0 5px;">
      <tr>
          <td>
              <?= $question->getAttributeLabel('user_name') ?>
          </td>
          <td style="text-align: right;">
              <?= $question['user_name'] ?>
          </td>
      </tr>
      <tr>
          <td>
              <?= $question->getAttributeLabel('email') ?>
          </td>
          <td style="text-align: right;">
              <?= $question['email'] ?>
          </td>
      </tr>
      <tr>
          <td>
              <?= $question->getAttributeLabel('group_id') ?>
          </td>
          <td style="text-align: right;">
              <?= $question['group']['lang']['title']??'' ?>
          </td>
      </tr>
      <tr>
          <td>
              <?= $question->getAttributeLabel('question') ?>
          </td>
          <td style="text-align: right;">
              <?= $question['question'] ?>
          </td>
      </tr>
  </table>
  <hr>