better user.html, thanks Dave
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.00.0 (2012-07-09 23:55:13) dev
|
||||
Version 2.00.0 (2012-07-10 00:22:32) dev
|
||||
|
||||
@@ -1,13 +1,17 @@
|
||||
{{extend 'layout.html'}}
|
||||
<h2>{{=T( request.args(0).replace('_',' ').capitalize() )}}</h2>
|
||||
<div id="web2py_user_form">
|
||||
{{if request.args(0)=='login':}}
|
||||
{{if not 'register' in auth.settings.actions_disabled:}}
|
||||
{{form.add_button(T('Register'),URL(args='register'))}}
|
||||
{{pass}}
|
||||
{{form.add_button(T('Lost Password'),URL(args='request_reset_password'))}}
|
||||
{{pass}}
|
||||
{{=form}}
|
||||
{{
|
||||
if request.args(0)=='login':
|
||||
if not 'register' in auth.settings.actions_disabled:
|
||||
form.add_button(T('Register'),URL(args='register'))
|
||||
pass
|
||||
if not 'request_reset_password' in auth.settings.actions_disabled:
|
||||
form.add_button(T('Lost Password'),URL(args='request_reset_password'))
|
||||
pass
|
||||
pass
|
||||
=form
|
||||
}}
|
||||
</div>
|
||||
<script language="javascript"><!--
|
||||
jQuery("#web2py_user_form input:visible:enabled:first").focus();
|
||||
|
||||
Reference in New Issue
Block a user