Blame view

frontend/views/site/appment.php 3.59 KB
6afa0829   Eugeny Galkovskiy   Запись на приём
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
  <?php
  use artbox\core\components\SeoComponent;
  use yii\web\View;
  
  /**
   * @var View $this
   */
  /**
   * @var SeoComponent $seo
   */
  $seo = \Yii::$app->get('seo');
  $this->title = \Yii::t('app', 'Записаться на приём');
  $this->params[ 'breadcrumbs' ][] = $this->title;
  ?>
  <div class="container appment-page">
      <section>
          <div class="col-md-12">
              <div class="heading text-center">
                  <h2><?=$this->title?></h2>
              </div>
              <div class="col-md-8 col-md-offset-2">
                  <div class="forms_wr">
                      <div class="modal-body">
  
                          <form id="appointment-form" action="/site/appointment" method="POST" role="form">
                              <div class="form-group field-appointment-name">
                                  <div class="on_input_"></div>
                                  <label class="control-label" for="appointment-name">Имя</label>
                                  <input type="text" id="appointment-name" class="form-control" name="Appointment[name]" aria-invalid="false">
  
                                  <p class="help-block help-block-error"></p>
                              </div>
                              <div class="form-group field-appointment-name required">
                                  <div class="on_input_"></div>
                                  <label class="control-label" for="appointment-name">Номер телефона</label>
                                  <input type="text" id="appointment-phone" class="form-control" name="Appointment[phone]">
  
                                  <p class="help-block help-block-error"></p>
                              </div>
8528ff71   Eugeny Galkovskiy   Запись на приём, ...
40
                              <div class="form-group field-appointment-date required has-datepicker2">
6afa0829   Eugeny Galkovskiy   Запись на приём
41
42
43
44
45
46
                                  <div class="on_input_"></div>
                                  <label class="control-label" for="appointment-date">Дата</label>
                                  <input type="text" id="appointment-date" class="form-control" name="Appointment[date]">
  
                                  <p class="help-block help-block-error"></p>
                              </div>
8528ff71   Eugeny Galkovskiy   Запись на приём, ...
47
48
                              <div class="datepicker-wr2">
                                  <div id="datepicker2"></div>
6afa0829   Eugeny Galkovskiy   Запись на приём
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
                              </div>
                              <div class="form-group field-appointment-time">
                                  <div class="on_input_"></div>
                                  <label class="control-label" for="appointment-service">Время</label>
                                  <input type="text" id="appointment-time" class="form-control" name="Appointment[time]">
  
                                  <p class="help-block help-block-error"></p>
                              </div>
                              <div class="form-group field-appointment-service">
                                  <div class="on_input_"></div>
                                  <label class="control-label" for="appointment-service">Услуга</label>
                                  <input type="text" id="appointment-service" class="form-control" name="Appointment[service]">
  
                                  <p class="help-block help-block-error"></p>
                              </div>
                              <p class="text-center">
                                  <button type="submit" class="send-form btn btn-lg btn-template-primary">Отправить</button>
                              </p>
                          </form>
  
                      </div>
                  </div>
              </div>
          </div>
      </section>
  </div>