{% extends 'master.twig' %}
{% set title = 'Reset Password' %}
{% block content %}
<div class="loginPage">
<div class="passwordForm">
<div class="head">
Reset Password
</div>
<form method="post" action="{{ route('auth.resetpassword') }}" id="passwordForm">
<input type="hidden" name="session" value="{{ session_id() }}">
{% if get.u is defined and get.k is defined %}
<input type="hidden" name="user" value="{{ get.u }}">
<input type="hidden" name="key" value="{{ get.k }}">
<div class="leftAlign">
<label for="forgotUserName">Password:</label>
<div class="centreAlign">
<input class="inputStyling" type="password" id="resetPassword" name="password">
<button class="inputStyling">Save Password</button>
{% else %}
<label for="forgotUserName">Username:</label>
<input class="inputStyling" type="text" id="forgotUserName" name="username">
<label for="forgotEmail">E-mail:</label>
<input class="inputStyling" type="text" id="forgotEmail" name="email">
<button class="inputStyling">Request Change</button>
<div class="subLinks centreAlign">
<a href="{{ route('info.contact') }}" class="default">Contact us</a> if you lost access to your e-mail address!
{% endif %}
</form>
{% endblock %}