--- a/app/soc/templates/soc/models/edit.html Mon Nov 17 22:12:34 2008 +0000
+++ b/app/soc/templates/soc/models/edit.html Mon Nov 17 22:21:02 2008 +0000
@@ -20,7 +20,7 @@
{{ page_name }}
{% if entity %}
<!-- TODO(srabbelier) use a generic entity name as link -->
- <a href="/{{ entity_type_short|lower }}/show/{{ entity_suffix }}">(Public page)</a>
+ <a href="/{{ entity_type_url|lower }}/show/{{ entity_suffix }}">(Public page)</a>
{% endif %}
{% endblock %}
@@ -49,7 +49,7 @@
</td>
{% if entity %}
<td>
- <input type="button" onclick="location.href='/{{ entity_type_short|lower }}/delete/{{ entity_suffix }}'" value="Delete"/>
+ <input type="button" onclick="location.href='/{{ entity_type_url|lower }}/delete/{{ entity_suffix }}'" value="Delete"/>
</td>
{% endif %}
{% endblock %}