--- a/app/soc/templates/soc/site/user/profile/lookup.html Fri Sep 19 05:12:35 2008 +0000
+++ b/app/soc/templates/soc/site/user/profile/lookup.html Fri Sep 19 05:15:20 2008 +0000
@@ -28,19 +28,35 @@
</p>
<form method="POST">
<table>
+{% if email_error %}
+<tr>
+ <td> </td>
+ <td colspan="3" class="formfielderror">
+ {{ email_error }}
+ </td>
+</tr>
+{% endif %}
{% field_as_table_row form.id %}
+{% if linkname_error %}
+<tr>
+ <td> </td>
+ <td colspan="3" class="formfielderror">
+ {{ linkname_error }}
+ </td>
+</tr>
+{% endif %}
{% field_as_table_row form.link_name %}
{% if found_user %}
<tr>
<td class="formfieldlabel">Nick name</td>
+ <td>{{ found_user.nick_name }}</td>
<td class="formfieldrequired"> </td>
- <td>{{ found_user.nick_name }}</td>
<td class="formfieldhelptext"> </td>
</tr>
<tr>
<td class="formfieldlabel">Is Developer</td>
+ <td>{{ found_user.is_developer }}</td>
<td class="formfieldrequired"> </td>
- <td>{{ found_user.is_developer }}</td>
<td class="formfieldhelptext"> </td>
</tr>
{% endif %}
@@ -51,16 +67,10 @@
<td>
<input type="submit" style="font-weight: bold" name="lookup" value="Look up User"/></span>
</td>
- <td> </td>
-{% if lookup_error %}
- <td colspan="2" class="formfielderror">
- {{ lookup_error }}
+ <td colspan="2"> </td>
+ <td>
+ {% if lookup_message %}<b><i>{{ lookup_message }}</i></b>{% else %} {% endif %}
</td>
-{% else %}
- <td colspan="2">
- {% if lookup_message %}<b><i>{{ lookup_message }}</i></b>{% else %}%nbsp;{% endif %}
- </td>
-{% endif %}
</tr>
{% if edit_link %}
<tr>