<?php renderFormStart($form = createPayForm(), ['class' => 'item pay']); ?> <?php renderFormField($form['fields']['pay'], ['id' => 'pay', 'autocomplete' => 'off', 'style' => 'display: none;']); ?> <button class="button label" type="submit">Пополнить</button> <?php renderFormField($form['fields']['_token']); ?> <?php renderFormEnd(); ?> <?php renderFormStart($form = createDestroyForm(), ['class' => 'item']); ?> <button class="button" type="submit">Выйти</button> <?php renderFormField($form['fields']['_token']); ?> <?php renderFormEnd(); ?> </div> <?php } ?> </div> </div> <?php
startBlock('title', $container); ?> Вход <?php endBlock($container); ?> <?php startBlock('body', $container); ?> <div class="container"> <h1 class="center align">Авторизация</h1> <?php renderFormStart($form, ['class' => 'widget']); ?> <div class="field"> <?php renderFormField($form['fields']['email'], ['placeholder' => 'Email']); ?> </div> <div class="field"> <?php renderFormField($form['fields']['password'], ['placeholder' => 'Пароль']); ?> </div> <?php renderFormField($form['fields']['_token']); ?>
</div> </div> <div class="orders-empty"<?php if ($orders) { ?> style="display: none;"<?php } ?> >Здесь пока ничего нет.</div> <?php includeTemplate('footer.php', $container); ?> <div class="modal-wrapper" style="display: none"> <?php renderFormStart($form, ['class' => 'modal order-form']); ?> <?php renderFormField($completeForm['fields']['_token']); ?> <div class="modal-title"> <button type="reset" class="close"></button> <h3>Создать задание</h3> </div> <div class="modal-body"> <div class="fields"> <div class="field"> <label for="order-name"><?php echo $form['fields']['name']['label']; ?> :</label>