entity_type is not the same as entity_type_short
authorSverre Rabbelier <srabbelier@gmail.com>
Thu, 16 Oct 2008 18:08:35 +0000
changeset 362 d904f4a76f6f
parent 361 465e4df617de
child 363 d35ffa6ca643
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
app/soc/templates/soc/site/sponsor/profile/edit.html
--- 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 %}