--- a/soc/templates/soc/person/profile.html Fri May 23 20:56:02 2008 +0000
+++ b/soc/templates/soc/person/profile.html Wed May 28 20:52:28 2008 +0000
@@ -11,6 +11,7 @@
See the License for the specific language governing permissions and
limitations under the License.
{% endcomment %}
+{% load forms_helpers %}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
@@ -20,11 +21,83 @@
<body>
<p>
{% block 'logo' %}{% endblock %}
- Welcome, {{user.nickname}}. Please update your profile:
+ Welcome, {{user.nickname}}.
+ {% block 'instructions' %}Please update your profile:{% endblock %}
<form method="POST">
- <table>{{form.as_table}}</table>
+ <table>
+ <tr>
+ <td class="formfieldheading" colspan="4">
+ Name <i>(publicly displayed)</i>
+ </td>
+ </tr>
+ {% field_as_table_row form.given_name %}
+ {% field_as_table_row form.surname %}
+ {% field_as_table_row form.nickname %}
+ {% field_as_table_row form.display_name %}
+ <tr><td colspan="4"> </td></tr>
+
+ <tr>
+ <td class="formfieldheading" colspan="4">
+ Online Profile <i>(publicly displayed)</i>
+ </td>
+ </tr>
+ {% field_as_table_row form.email %}
+ {% field_as_table_row form.im_network %}
+ {% field_as_table_row form.im_handle %}
+ {% field_as_table_row form.home_page %}
+ {% field_as_table_row form.blog %}
+ {% field_as_table_row form.photo_url %}
+ <tr><td colspan="4"> </td></tr>
+
+ <tr>
+ <td class="formfieldheading" colspan="4">
+ Location <i>(publicly displayed, these will be replaced with a
+ Google Maps control)</i>
+ </td>
+ </tr>
+ {% field_as_table_row form.latitude %}
+ {% field_as_table_row form.longitude %}
+ <tr><td colspan="4"> </td></tr>
+
+ <tr>
+ <td class="formfieldheading" colspan="4">
+ Residence Address <i>(kept private)</i>
+ </td>
+ </tr>
+ {% field_as_table_row form.res_street %}
+ {% field_as_table_row form.res_city %}
+ {% field_as_table_row form.res_state %}
+ {% field_as_table_row form.res_postalcode %}
+ {% field_as_table_row form.res_country %}
+ <tr><td colspan="4"> </td></tr>
+
+ <tr>
+ <td class="formfieldheading" colspan="4">
+ Shipping Address <i>(kept private; optional, if omitted, Residence
+ Address will be used)</i>
+ </td>
+ </tr>
+ {% field_as_table_row form.ship_street %}
+ {% field_as_table_row form.ship_city %}
+ {% field_as_table_row form.ship_state %}
+ {% field_as_table_row form.ship_postalcode %}
+ {% field_as_table_row form.ship_country %}
+
+ <tr><td colspan="4"> </td></tr>
+
+ <tr>
+ <td class="formfieldheading" colspan="4">
+ Personal Information <i>(kept private)</i>
+ </td>
+ </tr>
+ {% field_as_table_row form.phone %}
+ {% field_as_table_row form.birth_date %}
+ {% field_as_table_row form.tshirt_size %}
+ {% field_as_table_row form.tshirt_style %}
+ </table>
<input type="submit" />
</form>
</p>
</body>
</html>
+