Obvody/app/Presentation/Sign/in.latte

23 lines
1.1 KiB
Plaintext

{block content}
{* {control signInForm} *}
<div class="container-fluid">
<section class="w-100 p-4 d-flex justify-content-center pb-4">
<form n:name=signInForm style="width: 22rem;">
<div class="p-3 container-fluid ramecek-chyba" n:if="$form->hasErrors()" n:foreach="$form->getErrors() as $error">
<span>{$error}</span>
</div>
<div class="form-group">
<label n:name=username for="inputUser">Uživatel</label>
<input n:name=username type="text" class="form-control" id="inputUser" placeholder="Uživatel" required>
</div>
<div class="form-group">
<label n:name=password for="inputHeslo">Heslo</label>
<input n:name=password type="password" class="form-control" id="inputHeslo" placeholder="Heslo" autofocus="autofocus" required>
</div>
<button type="submit" n:name=send class="btn btn-primary btn-xlarge w-100" style="margin-top: 10px;">Přihlásit</button>
</form>
</section>
</div>