fix: missing tr
authorRicardo Velhote <rvelhote@gmail.com>
Thu, 3 Jun 2010 22:01:08 +0000 (23:01 +0100)
committerRicardo Velhote <rvelhote@gmail.com>
Fri, 4 Jun 2010 22:01:39 +0000 (23:01 +0100)
fix: wrong routing

swat/templates/default/component/account-group-form.mako

index 44f69b8bc006c6cbc238809e64a48f98f6256817..8d9b1f8cf6101acbc91951b59be8da41eec7f3bd 100644 (file)
                             
                             <tbody>
                                 % for user in c.user_group_list:
-                                    <td>${user.rid}</td>
-                                    <td>${user.username}</td>
-                                    <td>${user.description}</td>
-                                    <td>
-                                        % if user.account_disabled:
-                                            ${_("No")}
-                                        % else:
-                                            ${_("Yes")}
-                                        % endif
-                                    </td>
-                                    <td>
-                                        <a target="_blank" href="${h.url_for('account_action', action='user', subaction='edit', id=user.rid)}" title="${_('Edit this User')}"><img src="/default/images/icons/user-pencil.png" alt="${_('Edit User Icon')}"/></a>
-                                    </td>
+                                    <tr>
+                                        <td>${user.rid}</td>
+                                        <td>${user.username}</td>
+                                        <td>${user.description}</td>
+                                        <td>
+                                            % if user.account_disabled:
+                                                ${_("No")}
+                                            % else:
+                                                ${_("Yes")}
+                                            % endif
+                                        </td>
+                                        <td>
+                                            <a target="_blank" href="${h.url_for('account_action', action='user', subaction='edit', name=user.username)}" title="${_('Edit this User')}"><img src="/default/images/icons/user-pencil.png" alt="${_('Edit User Icon')}"/></a>
+                                        </td>
+                                    </tr>
                                 % endfor
                             <tbody>
                         </table>