Skip to content
This repository
Browse code

Adding login and logout pages for issue #10

  • Loading branch information...
commit 68fa66b1f64bc49c9ee6302f316b009391cc67f1 1 parent 81b9873
Dylan Nugent Dylnuge authored
19 treasureapp/templates/registration/login.html
... ... @@ -0,0 +1,19 @@
  1 +{% extends "base.html" %}
  2 +{% load bootstrap %}
  3 +
  4 +{% block title %}Treasure Chest | Login{% endblock %}
  5 +
  6 +{% block content %}
  7 +
  8 +<form class="well" method="post">
  9 + {% csrf_token %}
  10 + {{ form|bootstrap }}
  11 + <div class="control-group">
  12 + <div class="controls">
  13 + <input type="hidden" name="next" value="{{ next }}" />
  14 + <button type="submit" class="btn btn-primary">Sign Up</button>
  15 + </div>
  16 + </div>
  17 +</form>
  18 +
  19 +{% endblock %}
9 treasureapp/templates/registration/logout.html
... ... @@ -0,0 +1,9 @@
  1 +{% extends "base.html" %}
  2 +
  3 +{% block title %}Treasure Chest{% endblock %}
  4 +
  5 +{% block content %}
  6 +
  7 +<h1>You have been successfully logged out</h1>
  8 +
  9 +{% endblock %}

0 comments on commit 68fa66b

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