project/templates/user/username.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Tue, 11 May 2010 03:48:47 +0530
changeset 96 3ece0de11641
parent 1 fda1c66b25f9
permissions -rw-r--r--
Modify views and templates for proceedings to work.

{% extends "base.html" %}

{% block title %}Change Your Username{% endblock %}

{% block content %}
    <h1>Change your username</h1>

    <form action="{% url kiwipycon_username %}"
          method="post">
        <table class="kiwipycon-default">
            <tr>
                  <td class="label">
                      <label for="id_username">New username:</label>
                  </td>
                  <td>
                      {{ form.username.errors }}                        
                      {{ form.username }}
                  </td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <input class="button left"
                           type="submit"
                           value="Save username" />
                </td>
            </tr>
        </table>
        
    </form>
{% endblock %}