]>
Commit | Line | Data |
---|---|---|
7829daed | 1 | {% extends "base.html" %} |
f6e6ff79 MT |
2 | |
3 | {% block title %}{{ _("Register a new account") }}{% end block %} | |
9137135a MT |
4 | |
5 | {% block body %} | |
f6e6ff79 MT |
6 | <ul class="breadcrumb"> |
7 | <li> | |
8 | <a href="/">{{ _("Home") }}</a> | |
9 | <span class="divider">/</span> | |
10 | </li> | |
11 | <li class="active"> | |
12 | <a href="/register">{{ _("Register new account") }}</a> | |
13 | </li> | |
14 | </ul> | |
15 | ||
16 | <div class="page-header"> | |
7829daed MT |
17 | <h2> |
18 | {{ _("Register a new account") }} | |
f6e6ff79 | 19 | <small>{{ _("Join the community!") }}</small> |
7829daed | 20 | </h2> |
f6e6ff79 MT |
21 | </div> |
22 | ||
7829daed MT |
23 | <form class="form-horizontal" method="POST" action=""> |
24 | {% raw xsrf_form_html() %} | |
f6e6ff79 | 25 | |
7829daed | 26 | <legend>{{ _("Registration form") }}</legend> |
f6e6ff79 | 27 | |
7829daed MT |
28 | <fieldset> |
29 | <div class="control-group"> | |
30 | <label class="control-label" for="name">{{ _("Username") }}</label> | |
31 | <div class="controls"> | |
32 | <input type="text" class="input-xlarge" id="name" name="name" placeholder="{{ _("Username") }}"> | |
33 | ||
34 | <p class="help-block"> | |
35 | {{ _("Must be a unique name you login with.") }} | |
36 | </p> | |
37 | </div> | |
38 | </div> | |
39 | ||
40 | <div class="control-group"> | |
41 | <label class="control-label" for="email">{{ _("Email address") }}</label> | |
42 | <div class="controls"> | |
43 | <input type="text" class="input-xlarge" id="email" name="email" placeholder="{{ _("Email address") }}"> | |
f6e6ff79 | 44 | |
7829daed MT |
45 | <p class="help-block"> |
46 | {{ _("Type in your email address, which is used to verify the account.") }} | |
47 | </p> | |
f6e6ff79 | 48 | </div> |
7829daed MT |
49 | </div> |
50 | ||
51 | <div class="control-group"> | |
52 | <label class="control-label" for="realname">{{ _("Real name (optional)") }}</label> | |
53 | <div class="controls"> | |
54 | <input type="text" class="input-xlarge" id="realname" name="realname" placeholder="{{ _("Real name") }}"> | |
55 | ||
56 | <p class="help-block"> | |
57 | {{ _("Type you firstname and your lastname here.") }} | |
58 | </p> | |
59 | </div> | |
60 | </div> | |
61 | </fieldset> | |
62 | ||
63 | <fieldset> | |
64 | <legend>{{ _("Account security") }}</legend> | |
65 | ||
66 | <div class="control-group"> | |
67 | <label class="control-label" for="pass1">{{ _("Password") }}</label> | |
68 | <div class="controls"> | |
69 | <input type="password" class="input-xlarge" id="pass1" name="pass1" placeholder="{{ _("Password") }}"> | |
70 | ||
71 | <p class="help-block"> | |
72 | {{ _("The password is used to secure the login and must be at least 8 characters.") }} | |
73 | </p> | |
74 | </div> | |
75 | </div> | |
76 | ||
77 | <div class="control-group"> | |
78 | <label class="control-label" for="pass2">{{ _("Confirm password") }}</label> | |
79 | <div class="controls"> | |
80 | <input type="password" class="input-xlarge" id="pass2" name="pass2" placeholder="{{ _("Confirm password") }}"> | |
81 | ||
82 | <p class="help-block"> | |
83 | {{ _("Pick a password that is as strong as possible.") }} | |
84 | {{ _("Don't login at unsecure places where people could spy on your password.") }} | |
85 | </p> | |
86 | </div> | |
87 | </div> | |
88 | </fieldset> | |
89 | ||
90 | <div class="form-actions"> | |
91 | <button type="submit" class="btn btn-primary">{{ _("Sign up!") }}</button> | |
f6e6ff79 | 92 | </div> |
7829daed | 93 | </form> |
9137135a | 94 | {% end block %} |