<?php /** @var SupportTabInterface $block */

use Adyen\Payment\Block\Adminhtml\Support\SupportTabInterface; ?>
<fieldset class="fieldset&#x20;admin__fieldset&#x20;" id="base_fieldset">
    <legend class="admin__legend legend">
        <span><?= $block->escapeHtml($block->getPageTitle()) ?></span>
    </legend>
</fieldset>


<div class="adyen_support-main">
    <form action="<?= $block->escapeUrl($block->supportFormUrl()); ?>" method="GET">
        <table class="adyen_support-content" aria-describedby="Support Form Content">
            <tr>
                <td class="adyen_support-label">Topic</td>
                <td>
                    <div class="adyen_support-value">
                        <select name="topic" id="support_topic_value">
                            <option value="">Please select a topic</option>
                            <?php foreach ($block->getSupportTopics() as $key => $topic): ?>
                                <option value="<?= $block->escapeHtmlAttr($key); ?>"><?= $block->escapeHtml($topic); ?></option>
                            <?php endforeach; ?>
                        </select>
                    </div>
                </td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td>
                    <div class="adyen_support-links--container adyen_support-value">
                        <h3><strong>Related articles</strong></h3>
                        <div class="adyen_support-links"></div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td>
                    <div class="adyen_support-value">
                        <button type="submit" disabled="disabled" id="adyen_support-need-help"
                                class="adyen_support-form_link btn btn-large btn-prime">I still need help
                        </button>
                    </div>
                </td>
            </tr>
        </table>
    </form>
</div>
