35 lines
789 B
Plaintext
35 lines
789 B
Plaintext
|
{{ define "title" }}Sign in{{ end }}
|
||
|
{{ define "content" }}
|
||
|
<h1>Sign in</h1>
|
||
|
|
||
|
<form method="POST" action="/login">
|
||
|
{{ CSRF }}
|
||
|
<div class="form-row">
|
||
|
<div class="form-group col-md-6">
|
||
|
<label for="email">Email<span class="text-danger">*</span>:</label>
|
||
|
<input type="email" class="form-control"
|
||
|
name="email"
|
||
|
id="email"
|
||
|
value="{{ FormValue "email" }}"
|
||
|
placeholder="name@domain.com"
|
||
|
required>
|
||
|
</div>
|
||
|
<div class="form-group col-md-6">
|
||
|
<label for="password">Password:</label>
|
||
|
<input type="password" class="form-control"
|
||
|
name="password"
|
||
|
id="password">
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="form-group row">
|
||
|
<div class="form-group col">
|
||
|
<p>
|
||
|
<button type="submit" class="btn btn-primary">Sign in</button>
|
||
|
</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
{{ end }}
|