<p style="margin-bottom:2px;"><span class="off">*</span> <?= __('It\'s important that you don\'t forget your new password') ?></p>
<p style="margin-bottom:10px;"><span class="off">*</span> <?= __('We suggest that you change your password periodically for your safety') ?></p>

<form data-ajax action="<?= url_to('/panel/account/change-password') ?>" class="form" method="post">
    <?= csrf_field() ?>

    <div class="box-panel">
        <div class="box-panel-title"><?= __('Change password') ?></div>
        <div class="box-panel-content">
            <div class="box">
                <div class="row">
                    <div class="label">
                        <label for="current-password"><?= __('Current password') ?> <span class="required">*</span></label>
                    </div>
                    <div class="field">
                        <input type="password" id="current-password" name="current_password" maxlength="10" style="width:100%" />
                    </div>
                </div>
                <div class="row">
                    <div class="label">
                        <label for="password"><?= __('New password') ?> <span class="required">*</span></label>
                    </div>
                    <div class="field">
                        <input type="password" id="password" name="password" maxlength="10" style="width:100%" />
                    </div>
                </div>
                <div class="row">
                    <div class="label">
                        <label for="repassword"><?= __('Repeat password') ?> <span class="required">*</span></label>
                    </div>
                    <div class="field">
                        <input type="password" id="repassword" name="repassword" maxlength="10" style="width:100%" />
                    </div>
                </div>
            </div>

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