{block name=body}
	<div class="row">
		<div class="col-12">
			<h2>Przypomnij hasło</h2>
			<form action="{url controller="przypomnienie-hasla"}" method="post">
				{assign var=element_name value=$_MODEL->getElement("email")}
				<div class="form-group">
					<label>Adres e-mail</label>
					<input type="text" name="email" value="{htmlspecialchars($element_name->getValue())}" class="form-control{if $element_name->isError()} is-invalid{/if}" placeholder="Adres e-mail">
					{if $element_name->isError()}<div class="invalid-feedback">{$element_name->getError()}</div>{/if}
				</div>
				<button type="submit" name="__action" class="btn btn-primary">Przypomnij hasło</button> | <a href="{url controller="logowanie"}">Zaloguj się</a>
			</form>
		</div>
	</div>
{/block}