fixes allow translate strings at views/default/user.html

This commit is contained in:
Alexandre Andrade
2018-05-11 02:31:14 +00:00
parent 4ed36cfb1f
commit 716c697a60
+3 -3
View File
@@ -7,14 +7,14 @@
</h2>
{{=form}}
{{if request.args(0)=='login' and not 'register' in auth.settings.actions_disabled:}}
<a href="{{=URL('user/register')}}">Register</a>
<a href="{{=URL('user/register')}}">{{=T('Register')}}</a>
<br/>
{{pass}}
{{if request.args(0)=='login' and not 'request_reset_password' in auth.settings.actions_disabled:}}
<a href="{{=URL('user/request_reset_password')}}">Lost your password?</a>
<a href="{{=URL('user/request_reset_password')}}">{{=T('Lost your password?')}}</a>
{{pass}}
{{if request.args(0)=='register':}}
<a href="{{=URL('user/login')}}">Login</a>
<a href="{{=URL('user/login')}}">{{=T('Login')}}</a>
{{pass}}
</div>
</div>