b3e3a06858
Co-authored-by: Cursor <cursoragent@cursor.com>
29 lines
1.0 KiB
HTML
29 lines
1.0 KiB
HTML
{{define "login.html"}}
|
|
{{template "layout" .}}
|
|
{{end}}
|
|
|
|
{{define "content"}}
|
|
<section class="section auth-section">
|
|
<div class="container auth-container">
|
|
<div class="auth-card">
|
|
<h1 class="auth-title">Вход</h1>
|
|
<p class="auth-sub">Войдите в личный кабинет</p>
|
|
<form method="POST" action="/login" class="auth-form">
|
|
<input type="hidden" name="next" value="{{.Next}}">
|
|
<label class="form-field">
|
|
<span>Email</span>
|
|
<input type="email" name="email" value="{{.Email}}" required autocomplete="email">
|
|
</label>
|
|
<label class="form-field">
|
|
<span>Пароль</span>
|
|
<input type="password" name="password" required autocomplete="current-password">
|
|
</label>
|
|
<button type="submit" class="btn btn-primary btn-lg btn-block">Войти</button>
|
|
</form>
|
|
<p class="auth-footer">Нет аккаунта? <a href="/register">Регистрация</a></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{{end}}
|