-
Notifications
You must be signed in to change notification settings - Fork 6
/
login.ego
41 lines (35 loc) · 1.07 KB
/
login.ego
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<%! func (t *Template) Login(w io.Writer) error %>
<%%
import (
"fmt"
"io"
)
%%>
<!DOCTYPE html>
<html lang="en">
<% t.Head(w, "") %>
<body id="login">
<div class="container">
<% t.Nav(w) %>
<% t.Flash(w) %>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Sign In</h3>
</div>
<div class="panel-body">
<form role="form" action="/login" method="POST">
<div class="form-group">
<label for="email">E-mail address</label>
<input type="text" class="form-control" id="email" name="email" placeholder="Enter e-mail address">
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control" id="password" name="password" placeholder="Password">
</div>
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
</div>
</div>
</div>
</div> <!-- /container -->
</body>
</html>