<?= partial('rates') ?>

<div class="rates">
    <p class="title"><?= __('Requirements') ?>:</p>
    <ul>
        <li><?= __('Need to have %s Resets', [util('Number')->format($requirements['resets'])]) ?></li>
        <li><?= __('Needs to be level %s', [$requirements['level']]) ?></li>
        <?php if (has_skill_tree() && $requirements['master_level'] > 0): ?>
            <li><?= __('Needs to be master level %s', [$requirements['master_level']]) ?></li>
        <?php endif ?>
    </ul>
</div>

<form data-ajax data-confirmation="<?= __('Are you sure?') ?>" action="<?= url_to('/panel/character/' . $character->getName() . '/master-reset') ?>" class="form" method="post">
    <?= csrf_field() ?>

    <div class="submit">
        <input type="submit" class="btn" value="<?= __('Master Reset') ?>">
    </div>
</form>