Skip to content

Commit

Permalink
[xs] make register get correct url
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Mar 1, 2012
1 parent a5cbc58 commit 5c5c297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/templates/user/layout.html
Expand Up @@ -22,7 +22,7 @@
<py:if test="not c.id">
<ul class="tabbed">
<li py:attrs="{'class':'current-tab'} if c.action=='login' else {}"><a href="${h.url_for(controller='user', action='login')}">Login</a></li>
<li py:attrs="{'class':'current-tab'} if c.action=='register' else {}"><a href="${h.url_for('register')}">Register Account</a></li>
<li py:attrs="{'class':'current-tab'} if c.action=='register' else {}"><a href="${h.url_for(controller='user', action='register')}">Register Account</a></li>
</ul>
</py:if>
</py:if>
Expand Down

0 comments on commit 5c5c297

Please sign in to comment.