Initial commit

This commit is contained in:
Ryan McGrath 2010-10-27 14:53:51 -04:00
commit d5c605e4ad
22 changed files with 1372 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{% extends "base.html" %}
{% block content %}
{% if form.errors %}
<p>Your username and password didn't match. Please try again.</p>
{% endif %}
<form method="post" action="{% url django.contrib.auth.views.login %}">
{% csrf_token %}
<h2>Your Username</h2>
<p>
{{ form.username }}
</p>
<h2>Your Password</h2>
<p>
{{ form.password }}
</p>
<div id="button_center">
<input type="submit" value="Login to Drinkkit" class="button large" style="margin-bottom: 10px;">
<input type="hidden" name="next" value="{{ next }}" />
</div>
</form>
{% endblock %}

View file

@ -0,0 +1,14 @@
{% extends "base.html" %}
{% block content %}
<h2>Create an account</h2>
<form action="/register/" method="post">
{% csrf_token %}
{{ form.as_p }}
<div id="button_center">
<input type="submit" value="Create Your Drinkkit Account" class="button large" style="margin-bottom: 10px;">
</div>
</form>
{% endblock %}