app/soc/templates/soc/site/user/profile/lookup.html
changeset 170 1fadf6e0348d
parent 137 0f572149449d
child 184 7c0b42aecd9b
--- 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>&nbsp;</td>
+ <td colspan="3" class="formfielderror">
+  {{ email_error }}
+ </td>
+</tr>
+{% endif %}
   {% field_as_table_row form.id %}
+{% if linkname_error %}
+<tr>
+ <td>&nbsp;</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">&nbsp;</td>
-  <td>{{ found_user.nick_name }}</td>
   <td class="formfieldhelptext">&nbsp;</td>
  </tr>
  <tr>
   <td class="formfieldlabel">Is Developer</td>
+  <td>{{ found_user.is_developer }}</td>
   <td class="formfieldrequired">&nbsp;</td>
-  <td>{{ found_user.is_developer }}</td>
   <td class="formfieldhelptext">&nbsp;</td>
  </tr>
 {% endif %}
@@ -51,16 +67,10 @@
    <td> 
     <input type="submit" style="font-weight: bold" name="lookup" value="Look up User"/></span>
    </td>
-   <td>&nbsp;</td>
-{% if lookup_error %}
-   <td colspan="2" class="formfielderror">
-    {{ lookup_error }}
+   <td colspan="2">&nbsp;</td>
+   <td>
+    {% if lookup_message %}<b><i>{{ lookup_message }}</i></b>{% else %}&nbsp;{% 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>