summaryrefslogtreecommitdiff
path: root/views/partials/edit-profile.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/partials/edit-profile.ejs')
-rw-r--r--views/partials/edit-profile.ejs47
1 files changed, 29 insertions, 18 deletions
diff --git a/views/partials/edit-profile.ejs b/views/partials/edit-profile.ejs
index d7c9a34..a9a5a9a 100644
--- a/views/partials/edit-profile.ejs
+++ b/views/partials/edit-profile.ejs
@@ -9,60 +9,71 @@
<h3>Edit Profile</h3>
</li>
<li>
- <label class="description" for="element_3">Name:</label>
+ <label class="description" for="profile_displayName">Name:</label>
<div>
- <input id="element_3_1" name= "element_3_1" class="element text" type="text" maxlength="255" value="Ivan Sidorov"/>
+ <input id="profile_displayName" name="displayName" class="element text" type="text" maxlength="255">
</div>
</li>
<li>
- <label class="description" for="element_2">Website:</label>
+ <label class="description" for="profile_email">Email:</label>
<div>
- <input id="element_2" name="element_2" class="element text medium" type="text" maxlength="255" value="http://"/>
+ <input id="profile_email" name="email" class="element text medium" type="text" maxlength="255">
</div>
- </li>
+ </li>
<li>
- <label class="description" for="element_5">Twitter:</label>
+ <label class="description" for="profile_website">Website:</label>
<div>
- <input id="element_5" name="element_5" class="element text medium" type="text" maxlength="255" value="@"/>
+ <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="element_4">Facebook:</label>
+ <label class="description" for="profile_facebook">Facebook:</label>
<div>
- <input id="element_4" name="element_4" class="element text medium" type="text" maxlength="255" value="http://"/>
+ <input id="profile_facebook" name="facebook" class="element text medium" type="text" maxlength="255">
</div>
</li>
<li>
- <label class="description" for="element_1">Upload Avatar:</label>
+ <label class="description" for="profile_avatar">Upload Avatar:</label>
<div>
- <input id="element_1" name="element_1" class="element file" type="file"/>
- </div> <p class="guidelines" id="guide_1"><small>please choose a picture at least 500px wide</small></p>
+ <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="element_7">Old Password:</label>
+ <label class="description" for="profile_old_password">Old Password:</label>
<div>
- <input id="element_7" name="element_7" class="element text medium" type="password" maxlength="255" value=""/>
+ <input id="profile_old_password" name="old_password" class="element text medium" type="password" maxlength="255">
</div>
</li>
<li>
- <label class="description" for="element_8">New Password:</label>
+ <label class="description" for="profile_password">New Password:</label>
<div>
- <input id="element_8" name="element_8" class="element text medium" type="password" maxlength="255" value=""/>
+ <input id="profile_password" name="new_password" class="element text medium" type="password" maxlength="255">
</div>
</li>
<li>
- <label class="description" for="element_9">Again!</label>
+ <label class="description" for="profile_new_password2">Again!</label>
<div>
- <input id="element_9" name="element_9" class="element text medium" type="password" maxlength="255" value=""/>
+ <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>