app/soc/templates/soc/models/edit.html
changeset 1336 b0633dce6492
parent 1049 cc6aedbde28d
child 1358 6be502a1bcc6
--- a/app/soc/templates/soc/models/edit.html	Sun Feb 15 13:59:06 2009 +0000
+++ b/app/soc/templates/soc/models/edit.html	Sun Feb 15 13:59:36 2009 +0000
@@ -20,8 +20,7 @@
 {% block header_title %}
 {{ page_name }}
  {% if entity %}
-   <!-- TODO(srabbelier) use a generic entity name as link -->
-   <a href="/{{ entity_type_url|lower }}/show/{{ entity_suffix }}"
+   <a href="/{{ entity_type_url|lower }}/show/{{ entity.key.name }}"
 >{% if entity.name %}{{ entity.name }} {% endif %}(public view)</a>
  {% endif %}
 {% endblock %}