project/templates/user/account.html
changeset 135 782f958b2cb2
parent 122 7bdf396d4778
child 139 6e4719bb7df0
--- a/project/templates/user/account.html	Wed Jul 21 02:04:03 2010 +0530
+++ b/project/templates/user/account.html	Wed Jul 21 02:04:48 2010 +0530
@@ -22,8 +22,12 @@
         {% if user.first_name %}
             <span>{{ user.get_full_name }}</span>
         {% else %}
-        <span class="important">No name, please <a 
-            href="{% url scipycon_edit_profile params.scope %}">edit profile</a>.</span>
+        <span class="important">
+          No name, please
+          <a href="{% url scipycon_edit_profile params.scope %}">
+            edit profile
+          </a>.
+        </span>
         {% endif %}
         </td>
         <td rowspan="4">
@@ -65,7 +69,7 @@
 <div id="talks">
   <h2>Your Registration</h2>
 <p>
-  <a href="/edit-registration/{{ registration.id }}/"
+  <a href="{% url scipycon_edit_registration params.scope registration.id %}"
     title="Edit">Edit Registration</a>
   </p>
 </div>