Skip to content
Browse files

Adding login and logout pages for issue #10

  • Loading branch information...
1 parent 81b9873 commit 68fa66b1f64bc49c9ee6302f316b009391cc67f1 @Dylnuge Dylnuge committed Apr 12, 2012
Showing with 28 additions and 0 deletions.
  1. +19 −0 treasureapp/templates/registration/login.html
  2. +9 −0 treasureapp/templates/registration/logout.html
View
19 treasureapp/templates/registration/login.html
@@ -0,0 +1,19 @@
+{% extends "base.html" %}
+{% load bootstrap %}
+
+{% block title %}Treasure Chest | Login{% endblock %}
+
+{% block content %}
+
+<form class="well" method="post">
+ {% csrf_token %}
+ {{ form|bootstrap }}
+ <div class="control-group">
+ <div class="controls">
+ <input type="hidden" name="next" value="{{ next }}" />
+ <button type="submit" class="btn btn-primary">Sign Up</button>
+ </div>
+ </div>
+</form>
+
+{% endblock %}
View
9 treasureapp/templates/registration/logout.html
@@ -0,0 +1,9 @@
+{% extends "base.html" %}
+
+{% block title %}Treasure Chest{% endblock %}
+
+{% block content %}
+
+<h1>You have been successfully logged out</h1>
+
+{% endblock %}

0 comments on commit 68fa66b

Please sign in to comment.
Something went wrong with that request. Please try again.