Correct the record view template to sho the projects
authorymh <ymh.work@gmail.com>
Tue, 04 Nov 2014 00:01:05 +0100
changeset 171 757098c8739c
parent 170 3c73250693b9
child 172 5232f3f08654
Correct the record view template to sho the projects
src/p4l/templates/p4l/record_view.html
--- a/src/p4l/templates/p4l/record_view.html	Mon Nov 03 23:59:25 2014 +0100
+++ b/src/p4l/templates/p4l/record_view.html	Tue Nov 04 00:01:05 2014 +0100
@@ -195,7 +195,7 @@
     </tr>
     <tr>
       <td>{% trans 'project names' %}</td>
-      <td><ul>{% for k in record.projects.all %}<li>{{ uri_labels | get_item:k.uri }} <small class="text-muted">({{ k.uri }})</small></li>{% endfor %}</ul></td>
+      <td><ul>{% for k in record.projectNames.all %}<li>{{ uri_labels | get_item:k.uri }} <small class="text-muted">({{ k.uri }})</small></li>{% endfor %}</ul></td>
     </tr>
     <tr>
       <td>{% trans 'edition statement' %}</td>