~jamalta/+junk/niosweb

« back to all changes in this revision

Viewing changes to niosweb/templates/registration/login.html

  • Committer: Jamal Fanaian
  • Date: 2009-12-11 00:32:38 UTC
  • Revision ID: jfanaian@its-4-20091211003238-bl6k0eoiuxaytbny
Added login, logout. Added admin app and admin model for channels. Requiring login for create, and edit channels.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "base.html" %}
 
2
 
 
3
{% block title %}
 
4
    Log in | {{ block.super }}
 
5
{% endblock %}
 
6
 
 
7
{% block content %}
 
8
 
 
9
  {% if form.errors %}
 
10
    <p class="error">Sorry, that's not a valid username or password</p>
 
11
  {% endif %}
 
12
 
 
13
  <form action="" method="post">
 
14
    <label for="username">User name:</label>
 
15
    <input type="text" name="username" value="" id="username">
 
16
    <label for="password">Password:</label>
 
17
    <input type="password" name="password" value="" id="password">
 
18
 
 
19
    <input type="submit" value="login" />
 
20
    <input type="hidden" name="next" value="{{ next|escape }}" />
 
21
  </form>
 
22
 
 
23
{% endblock %}