Skip to content

Instantly share code, notes, and snippets.

@ShenXuGongZi
Created November 12, 2012 11:54
Show Gist options
  • Save ShenXuGongZi/4058951 to your computer and use it in GitHub Desktop.
Save ShenXuGongZi/4058951 to your computer and use it in GitHub Desktop.
{% include 'common/head.html' %}
<body>
{% include 'common/top.html' %}
<div id="Wrapper">
<div id="Main">
<div id="Sidebar">
</div>
<div id="Rightbar">
{% include 'rightbar/user.html' %}
</div>
<div id="Content">
<div class="box">
<div class="cell"><span class="fade"><a href="/">{{ site.title }}</a> <span class="chevron">&nbsp;›&nbsp;</span> {{ l10n.signup }}</span></div>
<div class="inner">
<form action="/signup" method="post">
{% if errors %}
<strong>{{ l10n.resolve_errors }}</strong>
<div class="sep10"></div>
<ul>
{% if member_username_error %}
<li>{{ member_username_error_message }}</li>
{% endif %}
{% if member_password_error %}
<li>{{ member_password_error_message }}</li>
{% endif %}
{% if member_email_error %}
<li>{{ member_email_error_message }}</li>
{% endif %}
{% if recaptcha_error %}
<li>{{ recaptcha_error_message }}</li>
{% endif %}
</ul>
<div class="sep10"></div>
{% endif %}
<script type="text/javascript">
var RecaptchaOptions = {
theme : 'blackglass'
};
</script>
<table cellpadding="5" cellspacing="0" border="0">
<tr>
<td width="80" align="right">
{{ l10n.username }}
</td>
<td width="200" align="left">
<input type="text" class="sl" name="username" value="{{ member_username|escape }}" />
</td>
</tr>
<tr>
<td width="80" align="right">
{{ l10n.password }}
</td>
<td width="200" align="left">
<input type="password" class="sl" name="password" value="{{ member_password|escape }}" />
</td>
</tr>
<tr>
<td width="80" align="right">
{{ l10n.email }}
</td>
<td width="200" align="left">
<input type="text" class="sl" name="email" value="{{ member_email|escape }}" />
</td>
</tr>
<tr>
<td width="80" align="right">
</td>
<td width="200" align="left">
{{ captchahtml }}
</td>
</tr>
<tr>
<td width="80" align="right">
</td>
<td width="200" align="left">
<input type="submit" value="{{ l10n.signup }}" class="super normal button" />
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
<div class="c"></div>
</div>
</div>
{% include 'common/bottom.html' %}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment