2012-09-19 09:03:25 +09:00
|
|
|
<template name="user_edit">
|
|
|
|
<div class="grid-small grid-block dialog user-edit">
|
|
|
|
{{#with user}}
|
2012-10-01 12:11:08 +10:00
|
|
|
{{#if profileIncomplete}}
|
|
|
|
<div>
|
|
|
|
Please complete your profile below before continuing.
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2012-09-19 09:03:25 +09:00
|
|
|
<form>
|
|
|
|
<h2>Account</h2>
|
2012-10-01 13:57:52 +09:00
|
|
|
{{#if username}}
|
2012-09-19 09:03:25 +09:00
|
|
|
<div class="control-group">
|
|
|
|
<label>Username</label>
|
2012-10-01 13:57:52 +09:00
|
|
|
<div class="controls">
|
|
|
|
<input id="username" name="username" disabled="disabled" type="text" value="{{username}}" />
|
|
|
|
</div>
|
2012-09-19 09:03:25 +09:00
|
|
|
</div>
|
2012-10-01 13:57:52 +09:00
|
|
|
{{/if}}
|
|
|
|
<!-- <div class="control-group">
|
2012-09-19 09:03:25 +09:00
|
|
|
<label>Email</label>
|
2012-10-01 13:57:52 +09:00
|
|
|
<div class="controls">
|
|
|
|
<input id="email" name="email" disabled="disabled" type="text" value="{{email}}" />
|
|
|
|
</div>
|
|
|
|
</div> -->
|
|
|
|
<div class="control-group">
|
2012-10-01 13:08:46 +10:00
|
|
|
<label>Display Name</label>
|
2012-10-01 13:57:52 +09:00
|
|
|
<div class="controls">
|
|
|
|
<input name="name" type="text" value="{{profile.name}}" />
|
|
|
|
</div>
|
2012-09-19 09:03:25 +09:00
|
|
|
</div>
|
2012-10-01 14:18:30 +10:00
|
|
|
<div class="control-group">
|
2012-10-01 13:57:52 +09:00
|
|
|
<label>Email</label>
|
|
|
|
<div class="controls">
|
|
|
|
<input name="email" type="text" value="{{profile.email}}" />
|
|
|
|
</div>
|
2012-09-19 09:03:25 +09:00
|
|
|
</div>
|
2012-09-24 14:29:54 +09:00
|
|
|
<div class="control-group">
|
|
|
|
<label>Bio</label>
|
2012-10-01 13:08:46 +10:00
|
|
|
<div class="controls"><textarea name="bio" type="text">{{profile.bio}}</textarea></div>
|
2012-09-24 14:29:54 +09:00
|
|
|
</div>
|
2012-09-19 09:03:25 +09:00
|
|
|
<h3>Change Password?</h3>
|
|
|
|
<div class="control-group">
|
|
|
|
<label>Old Password</label>
|
2012-10-01 13:08:46 +10:00
|
|
|
<div class="controls"><input name="old_password" type="text" value="" /></div>
|
2012-09-19 09:03:25 +09:00
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<label>New Password</label>
|
2012-10-01 13:08:46 +10:00
|
|
|
<div class="controls"><input name="new_password" type="text" value="" /></div>
|
2012-09-19 09:03:25 +09:00
|
|
|
</div>
|
2013-01-19 18:24:18 +09:00
|
|
|
<div class="control-group">
|
|
|
|
<label class="control-label">Email Notifications</label>
|
|
|
|
<div class="controls">
|
|
|
|
<label class="radio">
|
2013-01-29 10:51:44 +09:00
|
|
|
<input id="notifications_activity" type="radio" value="1" name="notifications" {{hasNotificationsActivity}} /> When people reply to me
|
2013-01-19 18:24:18 +09:00
|
|
|
</label>
|
|
|
|
<label class="radio">
|
2013-01-29 10:51:44 +09:00
|
|
|
<input id="notifications_none" type="radio" value="0" name="notifications" {{hasNotificationsNone}} /> None
|
2013-01-19 18:24:18 +09:00
|
|
|
</label>
|
|
|
|
<!-- <label class="radio">
|
|
|
|
<input id="notifications_all" type="radio" value="2" name="notifications" {{hasNotificationsAll}} /> All
|
|
|
|
</label> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-09-19 09:03:25 +09:00
|
|
|
<div class="form-actions">
|
|
|
|
<a href="/forgot_password">Forgot password?</a>
|
|
|
|
<input type="submit" class="button" value="Submit" />
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{{/with}}
|
|
|
|
</div>
|
|
|
|
</template>
|