{block name=body}
	<div class="row">
		<div class="col-12">
			<h2>Przypomnij hasło</h2>
			<form action="{url controller="nowe-haslo" action=$response_get.token}" method="post">
				{assign var=element_name value=$_MODEL->getElement("password")}
				<div class="form-group">
					<label>Hasło</label>
					<input type="password" name="password" value="" class="form-control{if $element_name->isError()} is-invalid{/if}" placeholder="Hasło">
					{if $element_name->isError()}<div class="invalid-feedback">{$element_name->getError()}</div>{/if}
				</div>
				{assign var=element_name value=$_MODEL->getElement("repassword")}
				<div class="form-group">
					<label>Powtórz hasło</label>
					<input type="password" name="repassword" value="" class="form-control{if $element_name->isError()} is-invalid{/if}" placeholder="Powtórz hasło">
					{if $element_name->isError()}<div class="invalid-feedback">{$element_name->getError()}</div>{/if}
				</div>
				<button type="submit" name="__action" class="btn btn-primary">Zmień hasło</button>
			</form>
		</div>
	</div>
{/block}