{{extend 'layout_staff.html'}} {{block head}} {{end head}} {{block navi}} {{end}}

{{=T('Sign Up') if request.args(0) == 'register' else T('Log In') if request.args(0) == 'login' else T(request.args(0).replace('_',' ').title())}}

{{=form}} {{if request.args(0)=='login' and not 'register' in auth.settings.actions_disabled:}} {{=T('Register')}}
{{pass}} {{if request.args(0)=='login' and not 'retrieve_password' in auth.settings.actions_disabled:}} {{=T('Lost your password?')}} {{pass}} {{if request.args(0)=='register':}} {{=T('Login')}} {{pass}}
{{block page_js}} {{end page_js}}