[TASK] Store System Maintenance tokens in data attributes
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Templates / Maintenance / CreateAdmin.html
1 <p>
2 After you've created the user, log in and add the rest of the user information, like email and real name.
3 </p>
4
5 <div class="t3js-module-content" data-create-admin-token="{createAdminToken}">
6 <form action="" id="t3js-createAdmin-form" method="post">
7 <div class="form-group">
8 <label for="t3-install-admin-username" class="control-label">Username:</label>
9 <input
10 id="t3-install-admin-username"
11 class="t3-install-form-input-text t3js-createAdmin-user form-control"
12 type="text"
13 autocomplete="off"
14 required
15 />
16 </div>
17 <div class="form-group">
18 <label for="t3-install-admin-password" class="control-label">Password:</label>
19 <input
20 id="t3-install-admin-password"
21 class="t3-install-form-input-text t3-install-form-password-strength t3js-createAdmin-password form-control"
22 type="password"
23 autocomplete="off"
24 required
25 minlength=8
26 pattern=".{8,}"
27 title="Password must be at least eight characters long."
28 />
29 </div>
30 <div class="form-group">
31 <label for="t3-install-admin-password-repeat" class="control-label">Repeat password:</label>
32 <input
33 id="t3-install-admin-password-repeat"
34 class="t3-install-form-input-text t3js-createAdmin-password-check form-control"
35 type="password"
36 autocomplete="off"
37 required
38 minlength=8
39 pattern=".{8,}"
40 />
41 </div>
42 <div class="form-group">
43 <div class="checkbox">
44 <label>
45 <input
46 class="t3-install-form-input-checkbox t3js-createAdmin-system-maintainer"
47 type="checkbox"
48 id="add-as-sytem-maintainer"
49 />
50 Add as system maintainer
51 </label>
52 </div>
53 </div>
54
55 <div class="t3js-createAdmin-output"></div>
56
57 <button
58 class="btn btn-default t3js-createAdmin-create"
59 type="submit"
60 >
61 Create administrator user
62 </button>
63 </form>
64 </div>