Fixed a link bug on accounts.html template enables editting talks
authorAmit Sethi
Wed, 01 Dec 2010 19:45:16 +0530
changeset 328 f71e17a05344
parent 327 507a1ac1fd43
child 329 9e2fc4b26a26
child 367 206a8a72d77c
Fixed a link bug on accounts.html template enables editting talks
project/templates/user/account.html
--- a/project/templates/user/account.html	Wed Dec 01 19:40:34 2010 +0530
+++ b/project/templates/user/account.html	Wed Dec 01 19:45:16 2010 +0530
@@ -130,7 +130,7 @@
             {% if talk.approved %}
               <span>Accepted</span>
             {% else %}
-              <a href="/edit-talk/{{ talk.id }}/" title="Edit">Edit</a>
+              <a href="/{{ params.scope }}/edit-talk/{{ talk.id }}/" title="Edit">Edit</a>
             {% endif %}
           </td>
         </tr>