<input name="username" class="form-control" placeholder="Type your username" value="{{.username}}">
<input name="username" class="form-control" placeholder="Type your username" value="{{.username}}" required="required" title="Username must contain at least has 5 characters">
<input name="passwd" type="password" class="form-control" placeholder="Type your password">
<input name="passwd" type="password" class="form-control" placeholder="Type your password" required="required" title="Password must contain at least has 6 characters">
<input type="password" class="form-control" placeholder="Re-type your password">
<input name="re-passwd" type="password" class="form-control" placeholder="Re-type your password" required="required" title="Re-type Password must be same to Password">
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="form-group">
<div class="col-md-offset-4 col-md-6">
<div class="col-md-offset-4 col-md-6">
<button type="submit" class="btn btn-lg btn-primary">Create an account</button>
<button type="submit" class="btn btn-lg btn-primary">Create an account</button>
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="form-group">
<div class="col-md-offset-4 col-md-6">
<div class="col-md-offset-4 col-md-6">
<a href="/user/login">Already have an account? Sign in now!</a>
<a href="/user/login">Already have an account? Sign in now!</a>