Fixed wrong user variable in lookup.html template for edit link (was user should be found_user).
There is no DeveloperForm in site/user/profile.py changed that to LookupForm.
--- a/app/soc/templates/soc/site/user/profile/lookup.html Fri Sep 12 02:46:21 2008 +0000
+++ b/app/soc/templates/soc/site/user/profile/lookup.html Fri Sep 12 10:56:21 2008 +0000
@@ -62,7 +62,7 @@
</tr>
<tr>
<td colspan="4">
- <a href="{{ edit_link }}">Edit the User profile of {{ user.nick_name }}.</a>
+ <a href="{{ edit_link }}">Edit the User profile of {{ found_user.nick_name }}.</a>
</td>
</tr>
{% endif %}
--- a/app/soc/views/site/user/profile.py Fri Sep 12 02:46:21 2008 +0000
+++ b/app/soc/views/site/user/profile.py Fri Sep 12 10:56:21 2008 +0000
@@ -158,7 +158,7 @@
# else: URL is not one that was expected, so do not display edit link
elif not form:
# no pre-populated form was constructed, so show the empty look-up form
- form = DeveloperForm()
+ form = LookupForm()
context.update({'form': form,
'edit_link': edit_link,