summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThayer Williams <thayerw@gmail.com>2010-03-16 11:37:52 -0700
committerDan McGee <dan@archlinux.org>2010-05-17 14:49:44 -0500
commit1c8e8eb5e642c712b5564b5cb4616b74297cf99e (patch)
treea3a9b04f4ba20bfeab6c3bb6cf3bbf21a2fe1cc1
parent08f886380ca53a9fade73fd3079a968f27316f74 (diff)
downloadarchweb-1c8e8eb5e642c712b5564b5cb4616b74297cf99e.tar.gz
archweb-1c8e8eb5e642c712b5564b5cb4616b74297cf99e.zip
Updated form semantics for accessibility
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--templates/devel/profile.html31
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 %}