This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/templates/yuuno/settings/account.password.twig

27 lines
1.3 KiB
Twig
Raw Normal View History

2015-09-16 20:34:36 +00:00
<form enctype="multipart/form-data" method="post" action="{{ sakura.currentPage }}" id="changePasswordForm">
2016-03-27 22:15:51 +00:00
<input type="hidden" name="sessid" value="{{ session_id() }}" />
<input type="hidden" name="timestamp" value="{{ date().timestamp }}" />
2015-09-16 20:34:36 +00:00
<input type="hidden" name="mode" value="password" />
<div class="profile-field">
<div><h2>Current Password</h2></div>
<div><input type="password" name="oldpassword" placeholder="Enter your current password for verification." class="inputStyling" /></div>
2015-09-16 20:34:36 +00:00
</div>
<div class="profile-field">
<div><h2>New Password</h2></div>
<div><input type="password" name="newpassword" placeholder="Enter your new password." class="inputStyling" /></div>
2015-09-16 20:34:36 +00:00
</div>
<div class="profile-field">
<div><h2>Confirmation</h2></div>
<div><input type="password" name="newpasswordconfirm" placeholder="Enter your new password again to make sure you didn't fuck up." class="inputStyling" /></div>
2015-09-16 20:34:36 +00:00
</div>
<div class="profile-save">
<input type="submit" value="Save" name="submit" class="inputStyling" />
<input type="reset" value="Reset" name="reset" class="inputStyling" />
</div>
</form>
<script type="text/javascript">
window.addEventListener("load", function() {
prepareAjaxForm('changePasswordForm', 'Changing password...');
});
</script>