<form class="standard" id="member_page_edit" action="<?php echo $tpl['current_url_pageless']; ?>" method="post" autocomplete="off">
	<h3 class="icon"><?php echo __('Changer de mot de passe'); ?></h3>

<?php include(__DIR__ . '/report.tpl.php'); ?>

	<p class="required field<?php if ($tpl['field_error'] == 'password_current') : ?> field_error<?php endif; ?>">
		<label for="password_current"><?php echo __('Mot de passe actuel :'); ?></label>
		<input data-password-view="1" required autofocus class="large" value="<?php echo $_POST['password_current'] ?? ''; ?>" maxlength="<?php echo $tpl['profile_params']['password']['maxlength']; ?>" id="password_current" name="password_current" type="password">
	</p>
	<p class="required field<?php if ($tpl['field_error'] == 'password') : ?> field_error<?php endif; ?>">
		<label for="password"><?php printf(__('Nouveau mot de passe (%s caractères minimum) :'), $tpl['profile_params']['password']['minlength']); ?></label>
		<input data-password-view="1" required class="large" value="<?php echo $_POST['password'] ?? ''; ?>" maxlength="<?php echo $tpl['profile_params']['password']['maxlength']; ?>" id="password" name="password" type="password">
	</p>
	<p class="required field<?php if ($tpl['field_error'] == 'password_confirm') : ?> field_error<?php endif; ?>">
		<label for="password_confirm"><?php echo __('Confirmez le mot de passe :'); ?></label>
		<input data-password-view="1" required class="large" maxlength="<?php echo $tpl['profile_params']['password']['maxlength']; ?>" id="password_confirm" name="password_confirm" type="password">
	</p>
	<br>
	<p class="message_info"><?php echo __('Les champs marqués d\'un astérisque sont obligatoires.'); ?></p>
	<p id="submit">
		<input name="anticsrf" type="hidden" value="<?php echo $tpl['anticsrf'](); ?>">
		<input class="button" name="edit" type="submit" value="<?php echo __('Enregistrer'); ?>">
	</p>
</form>