<?= partial('rates') ?>

<form data-ajax action="<?= url_to('/panel/character/' . $character->getName() . '/change-nick') ?>" class="form" method="post">
    <?= csrf_field() ?>

    <div class="box-panel">
        <div class="box-panel-title"><?= __('Change nickname') ?></div>
        <div class="box-panel-content">

            <div class="row">
                <div class="label">
                    <label for="nickname"><?= __('New nickname') ?> <span class="required">*</span></label>
                </div>
                <div class="field">
                    <input type="text" id="nickname" name="nickname" maxlength="10" style="width:100%" />
                </div>
            </div>

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