File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 7676 < input size ="10 " name ="__login_name "> < br >
7777 < input size ="10 " type ="password " name ="__login_password "> < br >
7878 < input type ="submit " name =":action " value ="Login "> < br >
79- < span tal:replace =" structure request/indexargs_form " />
80- < a href =" user?:template=register "> Register</ a > < br >
79+ < a href =" user?:template=register "
80+ tal:condition =" python:request.user.hasPermission('Web Registration') "> Register< br > </ a >
8181 < a href ="user?:template=forgotten "> Lost your login?</ a > < br >
8282 </ p >
8383 </ form >
Original file line number Diff line number Diff line change 3030 < input type ="submit " name =":action " value ="login ">
3131 < span tal:replace ="structure request/indexargs_form " />
3232 </ form >
33- < a href ="user?:template=register "> Register</ a >
33+ < a tal:condition ="python:request.user.hasPermission('Web Registration') "
34+ href ="user?:template=register "> Register</ a >
3435 </ p >
3536
3637 < p class ="userblock " tal:condition ="python:request.user.username != 'anonymous' ">
You can’t perform that action at this time.
0 commit comments