registration and other stuff

This commit is contained in:
Matthew Scragg 2013-10-03 09:58:07 -05:00
parent 613d1c6ca3
commit cba28239a2
13 changed files with 326 additions and 50 deletions

View file

@ -0,0 +1,20 @@
{% extends 'layout.html' %}
{% block body %}
<h2>Account</h2>
<form method="POST" role="form" class="form-horizontal">
<div class="form-group">
<label for="email" class="col-md-2 control-label">Email</label>
<div class="col-md-10">
<input id="email" type="text" class="form-control" value="{{ session['user']['email'] }}" />
</div>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<input type="submit" class="btn btn-primary" value="Save">
</div>
</div>
</form>
{% endblock %}

View file

@ -5,8 +5,8 @@
<form role="form" method="post">
<div class="form-group">
<label for="username">Username or Email</label>
<input type="text" class="form-control" id="username" name="username" />
<label for="email">Email Address</label>
<input type="text" class="form-control" id="email" name="email" />
</div>
<div class="form-group">

View file

@ -27,4 +27,6 @@
<input type="submit" class="btn btn-primary" value="Submit" />
</form>
<a href="/login" class="pull-right">Already registered? Login here.</a>
{% endblock %}