register.html
2.85 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{% extends 'layout.html' %}
{% block content %}
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-body">
<form class="form-horizontal" role="form" method="POST" action="/register/">
{% csrf_token %}
<div class="form-group">
<div class="col-md-12">
<label for="username"><span style="color:green;">아이디</span></label>
<input id="username" type="text" class="form-control" name="username" required autofocus>
</div>
</div>
<div class="form-group">
<div class="col-md-12">
<label for="email"><span style="color:green;">이메일</span><h6 style="display:inline;"> - 비밀번호 분실시 사용됩니다.</h6></label>
<input id="email" type="email" class="form-control" name="email" required>
</div>
</div>
<div class="form-group">
<div class="col-md-12">
<label for="password"><span style="color:green;">비밀번호</span><h6 style="display:inline;"> - 비밀번호는 8자리 이상으로 설정되어야 합니다.</h6></label>
<input id="password" type="password" class="form-control" name="password" required>
</div>
</div>
<div class="form-group">
<div class="col-md-12">
<label for="first_name"><span style="color:green;">성</span></label>
<input id="first_name" type="first_name" class="form-control" name="first_name" required>
</div>
</div>
<div class="form-group">
<div class="col-md-12">
<label for="last_name"><span style="color:green;">이름</span></label>
<input id="last_name" type="last_name" class="form-control" name="last_name" required>
</div>
</div>
<div class="form-group">
<div class="col-md-12">
<button type="submit" class="btn btn-success">회원가입</button>
</div>
</div>
<div class="form-group">
<div class="col-md-12 text-center">
<h6>{{ message }}</h6>
</div>
</div>
</form>
</div>
</div>
</div>
{% endblock %}