Commits

Anonymous committed 7d03919

Added a bunch of very simple example templates to show how to use
the service.

Comments (0)

Files changed (8)

templates/registration/activate.html

+{% extends "base.html" %}
+
+{% block content %}
+
+    <h2>Activation failed</h2>
+
+{% endblock %}

templates/registration/activation_complete.html

+{% extends "base.html" %}
+
+{% block content %}
+
+    <h2>Activation complete</h2>
+    
+    Your account is now ready to go!
+
+{% endblock %}

templates/registration/activation_email.txt

+Somebody (hopefully you) just registered for an account on {{site}} with this 
+email address.  If it wasn't you, just ignore this email.
+
+To confirm your account, just click on this link:
+http://{{site}}/accounts/activate/{{activation_key}}/
+within the next {{expiration_days}} days.

templates/registration/activation_email_subject.txt

+Thanks for signing up for {{site}}!

templates/registration/login.html

+{% extends "base.html" %}
+
+{% block content %}
+
+    <h2>Log in to your account</h2>
+
+    <form action="." method=POST>
+	{{form.as_p}}
+	<input type=submit>
+    </form>
+
+    <p>
+	<b>Don't have an account?</b> <a href="/accounts/register/">Register for one</a>
+    </p>
+
+{% endblock %}

templates/registration/logout.html

+{% extends "base.html" %}
+
+{% block content %}
+
+    <h2>You are now logged out</h2>
+
+{% endblock %}

templates/registration/registration_complete.html

+{% extends "base.html" %}
+
+{% block content %}
+
+    <h2>Registration complete</h2>
+
+{% endblock %}

templates/registration/registration_form.html

+{% extends "base.html" %}
+
+{% block content %}
+
+    <h2>Register for an account</h2>
+
+    <form action='.' method=POST>
+	{{form.as_p}}
+	<input type=submit>
+    </form>
+
+{% endblock %}