summaryrefslogtreecommitdiff
path: root/views/partials/edit-profile.ejs
blob: a9a5a9a13c7b221fc7656a45ed8f58fd224b2d14 (plain)
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
75
76
77
78
79
80
<div class="mediaDrawer fixed animate editProfile">
	<span class="close">X</span>
	<div id="form_container">

		<form enctype="multipart/form-data" method="post">
				
			<ul>
				<li class="section_break">
					<h3>Edit Profile</h3>
				</li>
				<li>
					<label class="description" for="profile_displayName">Name:</label>
					<div>
					<input id="profile_displayName" name="displayName" class="element text" type="text" maxlength="255">
					</div>
				</li>
				<li>
					<label class="description" for="profile_email">Email:</label>
					<div>
						<input id="profile_email" name="email" class="element text medium" type="text" maxlength="255"> 
					</div> 
				</li>
				<li>
					<label class="description" for="profile_website">Website:</label>
					<div>
						<input id="profile_website" name="website" class="element text medium" type="text" maxlength="255"> 
					</div> 
				</li>
				<li>
					<label class="description" for="profile_twitter">Twitter:</label>
					<div>
						<input id="profile_twitter" name="twitter" class="element text medium" type="text" maxlength="255">
					</div> 
				</li>		
				<li>
					<label class="description" for="profile_facebook">Facebook:</label>
					<div>
						<input id="profile_facebook" name="facebook" class="element text medium" type="text" maxlength="255"> 
					</div> 
				</li>		
				<li>
					<label class="description" for="profile_avatar">Upload Avatar:</label>
					<div>
						<input id="profile_avatar" name="avatar" class="element file" type="file"/> 
					</div>
					<p class="guidelines" id="guide_1"><small>please choose a picture at least 500px wide</small></p> 
				</li>		
				<li class="section_break">
					<h3>Edit Password</h3>
				</li>
				<li>
					<label class="description" for="profile_old_password">Old Password:</label>
					<div>
						<input id="profile_old_password" name="old_password" class="element text medium" type="password" maxlength="255">
					</div> 
				</li>		
				<li>
					<label class="description" for="profile_password">New Password:</label>
					<div>
						<input id="profile_password" name="new_password" class="element text medium" type="password" maxlength="255">
					</div> 
				</li>		
				<li>
					<label class="description" for="profile_new_password2">Again!</label>
					<div>
						<input id="profile_new_password2" class="element text medium" type="password" maxlength="255"> 
					</div> 
				</li>

				<li class="buttons">
					<input id="saveForm" class="button_text" type="submit" name="submit" value="Submit" />
				</li>
				<div class="errors">
					<div>There was a problem with your submission:</div>
					<div class="errorList"></div>
				</div>
			</ul>
		</form>
	</div>
</div>