<?php
/**
 * Copyright © 2016 Magento. All rights reserved.
 * See COPYING.txt for license details.
 */

// @codingStandardsIgnoreFile
/**
 * @var $block \Threepartment\Debitpayment\Block\Form\DebitPayment
 */
$methodCode = $block->escapeHtml($block->getMethodCode());
?>
<fieldset class="fieldset items <?= /* @noEscape */ $methodCode ?>" id="payment_form_<?= /* @noEscape */ $methodCode ?>" style="display: none">
    <div class="field number required">
        <label for="bank_account_owner" class="label"><span><?= $block->escapeHtml(__('Bank Account Owner')) ?></span></label>
        <div class="control">
            <input type="text" id="bank_account_owner" name="payment[bank_account_owner]" title="<?= $block->escapeHtml(__('Bank Account Owner')) ?>"
                   class="input-text required-entry"
                   value="<?= $block->escapeHtml($block->getInfoData('bank_account_owner')) ?>" />
        </div>
    </div>
    <div class="field number required">
        <label for="iban" class="label"><span><?= $block->escapeHtml(__('IBAN')) ?></span></label>
        <div class="control">
            <input type="text" id="iban" name="payment[iban]" title="<?= $block->escapeHtml(__('IBAN')) ?>"
                   class="input-text required-entry"
                   value="<?= $block->escapeHtml($block->getInfoData('iban')) ?>" />
        </div>
    </div>
    <div class="field number required">
        <label for="bic" class="label"><span><?= $block->escapeHtml(__('BIC')) ?></span></label>
        <div class="control">
            <input type="text" id="bic" name="payment[bic]" title="<?= $block->escapeHtml(__('BIC')) ?>"
                   class="input-text required-entry"
                   value="<?= $block->escapeHtml($block->getInfoData('bic')) ?>" />
        </div>
    </div>
</fieldset>