Created
July 26, 2016 07:33
-
-
Save Xannn94/0f0fe22809a2d4223698f16a93380bec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form class="online-app__form" method="POST" action="<?=$this->form->getAction()?>" id="js-terminal-form"> | |
<?php if($this->error): ?> | |
<div class="error"><?php echo ($this->error) ?></div> | |
<?php endif ?> | |
<div class="online-app__form"> | |
<!-- <div class="online-app__title">Персональные данные:</div> --> | |
<div class="b-form__item"> | |
<div class="b-form-item b-form-item_type_text b-form-item_style_default"> | |
<?=$this->form->getElement('last_name')?> | |
</div> | |
</div> | |
<div class="b-form__item"> | |
<div class="b-form-item b-form-item_type_text b-form-item_style_default"> | |
<?=$this->form->getElement('first_name')?> | |
</div> | |
</div> | |
<div class="b-form__item"> | |
<div class="b-form-item b-form-item_type_text b-form-item_style_default"> | |
<?=$this->form->getElement('patronymic')?> | |
</div> | |
</div> | |
<div class="b-form__item"> | |
<div class="b-form-item b-form-item_type_text b-form-item_style_default"> | |
<?=$this->form->getElement('organization')?> | |
</div> | |
</div> | |
<div class="b-form__item"> | |
<div class="b-form-item b-form-item_type_text b-form-item_style_default"> | |
<?=$this->form->getElement('type_organization')?> | |
</div> | |
</div> | |
<div class="b-form__item"> | |
<div class="b-form-item b-form-item_type_text b-form-item_style_default"> | |
<?=$this->form->getElement('phone')?> | |
</div> | |
</div> | |
<div class="b-form__item"> | |
<div class="b-form-item b-form-item_type_text b-form-item_style_default"> | |
<?=$this->form->getElement('email')?> | |
</div> | |
</div> | |
<div class="b-form__item"> | |
<div class="b-form-item b-form-item_type_text b-form-item_style_default"> | |
<?=$this->form->getElement('comments')?> | |
</div> | |
</div> | |
<div class="b-form__item"> | |
<div class="b-form-item b-form-item_type_checkbox b-form-item_style_default"> | |
<?=$this->form->getElement('agreement')?> | |
<label class="b-form-item__label" for="agreement"> | |
<a class='inline' href="#prodpreview"> | |
<?= $this->translate()->_('Я соглашаюсь с условиями обработки персональных данных') ?> | |
</a> | |
</label> | |
</div> | |
<div class="agreement-error-div"> | |
</div> | |
<div style="display:none"> | |
<div id="prodpreview" style="max-width: 600px; min-height: 200px; background-color: #fff; padding: 10px;"> | |
<div style="width: 85%; margin: 20px auto;"> | |
<?= $this->widget('agreement') ?> | |
</div> | |
<div style="width: 85%; margin: 20px auto;"> | |
<p> | |
<a class="b-button b-button_color_turquoise" id="agreement-ok"><?= $this->translate()->_('Принимаю') ?></a> | |
| |
<a href="#" id="close-agreement"><?= $this->translate()->_('отмена') ?></a> | |
</p> | |
</div> | |
</div> | |
</div> | |
<div class="clear"></div> | |
</div> | |
<button class="b-button b-button_color_turquoise" type="submit"><?= $this->translate()->_('Отправить заявку') ?></button> | |
</div> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment