{% extends "layouts/auth.twig" %}

{% block title %}{{ lang.update_password }}{% endblock %}

{% block content %}
	<form action="{{route('update.password')}}" name="register" method="post">
		{{ csrf.field | raw }}
		<input type="hidden" name="selector" value="{{selector}}">
		<input type="hidden" name="token" value="{{token}}">
		<div class="row d-flex align-items-center justify-content-center">
			<div class="col-md-5">
				<div class="card px-5 py-5 shadow-none">
					<h5 class="mt-3">{{ lang.reset_password }}</h5>
					<div class="form-input{{ errors.password ? ' has-error' : '' }}">
						<i class="fa fa-lock"></i> <input type="password" name="password" class="form-control" placeholder="{{ lang.password }}">
						{% if errors.password %}
							<span class="hel-block">{{ errors.password | first }}</span>
						{% endif %}
					</div>
					<div class="form-input">
						<i class="fa fa-lock"></i> <input type="password" name="password2" class="form-control" placeholder="{{ lang.confirm_password }}">
					</div>
					<button type="submit" class="btn btn-primary mt-4 signup">{{ lang.reset_password }}</button>
				</div>
			</div>
		</div>
	</form>
{% endblock %}

