entity_type is not the same as entity_type_short
The previous commit wrongfully assumed this.
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
--- a/app/soc/templates/soc/site/sponsor/profile/edit.html Thu Oct 16 17:34:10 2008 +0000
+++ b/app/soc/templates/soc/site/sponsor/profile/edit.html Thu Oct 16 18:08:35 2008 +0000
@@ -15,6 +15,6 @@
{% block submit_buttons %}
{{ block.super }}
<td>
- <input type="button" onclick="location.href='/site/{{ entity_type|lower }}/profile/{{ entity.link_name }}/delete'" value="Delete"/>
+ <input type="button" onclick="location.href='/site/{{ entity_type_short|lower }}/profile/{{ entity.link_name }}/delete'" value="Delete"/>
</td>
{% endblock %}