diff options
author | Thayer Williams <thayerw@gmail.com> | 2010-03-16 11:37:52 -0700 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-05-17 14:49:44 -0500 |
commit | 1c8e8eb5e642c712b5564b5cb4616b74297cf99e (patch) | |
tree | a3a9b04f4ba20bfeab6c3bb6cf3bbf21a2fe1cc1 /templates/devel/profile.html | |
parent | 08f886380ca53a9fade73fd3079a968f27316f74 (diff) |
Updated form semantics for accessibility
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/devel/profile.html')
-rw-r--r-- | templates/devel/profile.html | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/templates/devel/profile.html b/templates/devel/profile.html index 5b5a586b..178a59aa 100644 --- a/templates/devel/profile.html +++ b/templates/devel/profile.html @@ -1,21 +1,18 @@ {% extends "base.html" %} +{% block title %}Arch Linux - Edit Profile{% endblock %} {% block content %} - <div class="greybox"> - <h2 class="title">Developer Profile</h2> - <form method="post" action="."> - <table> - <tr> - <th>Username:</th> - <td><strong>{{ user.username }}</strong></td> - </tr> - {{form}} - <tr> - <td colspan="2" align="right"> - <input type="submit" value=" Save "> - </td> - </tr> - </table> - </form> - </div> +<div id="dev-edit-profile" class="box"> + + <h2>Developer Profile</h2> + + <form id="edit-profile-form" method="post" action="."> + <fieldset> + <legend>Username: <strong>{{ user.username }}</strong></legend> + {{ form.as_p }} + </fieldset> + <p><label></label> <input title="Save changes" type="submit" value="Save" /></p> + </form> + +</div> {% endblock %} |