2010-03-02 13:21:43 +00:00
|
|
|
<%inherit file="/base.mako"/>
|
|
|
|
<%include file="/flash.mako"/>
|
|
|
|
<div class="post">
|
|
|
|
<h2 class="title">My Account</h2>
|
2010-03-02 14:00:05 +00:00
|
|
|
<p>This is your account page. Update your details by changing them below and clicking the Save button.</p>
|
2010-03-02 13:21:43 +00:00
|
|
|
<%include file="/errors.mako"/>
|
|
|
|
<form id="account-account" action="${h.url_for(controller=u'account', action=u'index')}" method="post">
|
|
|
|
<fieldset class="form-details">
|
|
|
|
<legend>Required Details</legend>
|
|
|
|
<div class="form-item">
|
|
|
|
<label for="account-nick">Nick:</label>
|
2010-03-02 14:00:05 +00:00
|
|
|
<input type="text" name="account-nick" id="account-nick" class="form-text" value="${c.current_user.nick}" />
|
2010-03-02 13:21:43 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-item">
|
|
|
|
<label for="account-email">E-mail:</label>
|
2010-03-02 14:00:05 +00:00
|
|
|
<input type="text" name="account-email" id="account-email" class="form-text" value="${c.current_user.email}" />
|
2010-03-02 13:21:43 +00:00
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
<fieldset class="form-details">
|
|
|
|
<legend>Personal Details</legend>
|
|
|
|
<div class="form-item">
|
|
|
|
<label for="account-first_name">First Name:</label>
|
2010-03-02 14:00:05 +00:00
|
|
|
<input type="text" name="account-first_name" id="account-first_name" class="form-text" value="${c.current_user.first_name}" />
|
|
|
|
</div>
|
|
|
|
<div class="form-item">
|
|
|
|
<label for="account-last_name">Last Name:</label>
|
|
|
|
<input type="text" name="account-last_name" id="account-last_name" class="form-text" value="${c.current_user.last_name}" />
|
|
|
|
</div>
|
|
|
|
<div class="form-item">
|
|
|
|
<label for="account-timezone">Timezone:</label>
|
|
|
|
<select name="account-timezone" id="account-timezone" class="form-select">
|
|
|
|
% for timezone in c.timezones:
|
|
|
|
<option>${timezone.zone}</option>
|
|
|
|
% endfor
|
|
|
|
</select>
|
2010-03-02 13:21:43 +00:00
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
<fieldset>
|
|
|
|
<div class="form-item">
|
|
|
|
<input type="submit" name="account-action" value="Save" class="form-button"/>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
</div>
|