-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaccountEdit.html
66 lines (56 loc) · 2.25 KB
/
accountEdit.html
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
<h1>Account Settings</h1>
<h2>Edit your account details.</h2>
<div class="formWrapper">
<form id="accountEdit1" action="api/users" method="PUT">
<input type="hidden" name="_method" value="PUT" />
<div class="formError"></div>
<div class="formSuccess"></div>
<div class="inputWrapper">
<div class="inputLabel">First Name
</div><input class="input firstName" type="text" name="firstName" placeholder="  first name" />
</div>
<div class="inputWrapper">
<div class="inputLabel">Last Name
</div><input class="input lastName" type="text" name="lastName" placeholder="  last name" />
</div>
<div class="inputWrapper">
<div class="inputLabel">Email
</div><input class="input email" type="text" name="email" placeholder="  email" disabled />
</div>
<div class="inputWrapper ctaWrapper">
<button class="cta blue" type="submit">Save Changes</button>
</div>
</form>
</div>
<hr />
<div class="formWrapper">
<form id="accountEdit2" action="api/users" method="PUT">
<input type="hidden" name="_method" value="PUT" />
<div class="formError"></div>
<div class="formSuccess"></div>
<div class="inputWrapper">
<div class="inputLabel">Email
</div><input class="input email" type="text" name="email" placeholder="  email" disabled />
</div>
<div class="inputWrapper">
<div class="inputLabel">New Password
</div><input class="input newPassword" type="password" name="password" placeholder="  password" />
</div>
<div class="inputWrapper ctaWrapper">
<button class="cta blue" type="submit">Update password</button>
</div>
</form>
</div>
<hr />
<div class="formWrapper">
<form id="accountEdit3" action="api/users" method="DELETE">
<input type="hidden" name="_method" value="DELETE" />
<div class="formError"></div>
<div class="formSuccess"></div>
<div class="warning">Warning: This action cannot be undone!</div>
<input class="input email" type="hidden" name="email"/>
<div class="inputWrapper ctaWrapper">
<button class="cta red" type="submit">Delete Account</button>
</div>
</form>
</div>