diff --git a/templates/moderator/admin_reset.html.ep b/templates/moderator/admin_reset.html.ep index 95b3dbc..a0027c3 100644 --- a/templates/moderator/admin_reset.html.ep +++ b/templates/moderator/admin_reset.html.ep @@ -8,7 +8,7 @@ and <%= $error->[3] %> characters.

<% } =%> <%= label_for email => 'Email' %> - <%= email_field email => (id => 'email') %> + <%= email_field email => (id => 'email', autofocus => undef) %>
<% if (my $error = validation->error('password')) { =%> diff --git a/templates/moderator/create.html.ep b/templates/moderator/create.html.ep index 974b21a..9b471a1 100644 --- a/templates/moderator/create.html.ep +++ b/templates/moderator/create.html.ep @@ -8,7 +8,7 @@ and <%= $error->[3] %> characters.

<% } =%> <%= label_for name => 'Name' %> - <%= text_field name => (id => 'name') %> + <%= text_field name => (id => 'name', autofocus => undef) %>
<% if (my $error = validation->error('email')) { =%> diff --git a/templates/moderator/demote.html.ep b/templates/moderator/demote.html.ep index 7cf34c3..df279b4 100644 --- a/templates/moderator/demote.html.ep +++ b/templates/moderator/demote.html.ep @@ -8,7 +8,7 @@ and <%= $error->[3] %> characters.

<% } =%> <%= label_for email => 'Email' %> - <%= email_field email => (id => 'email') %> + <%= email_field email => (id => 'email', autofocus => undef) %>
diff --git a/templates/moderator/lock_acct.html.ep b/templates/moderator/lock_acct.html.ep index b55dff1..c487e16 100644 --- a/templates/moderator/lock_acct.html.ep +++ b/templates/moderator/lock_acct.html.ep @@ -8,7 +8,7 @@ and <%= $error->[3] %> characters.

<% } =%> <%= label_for email => 'Email' %> - <%= email_field email => (id => 'email') %> + <%= email_field email => (id => 'email', autofocus => undef) %> diff --git a/templates/moderator/login.html.ep b/templates/moderator/login.html.ep index d334a47..53de7e4 100644 --- a/templates/moderator/login.html.ep +++ b/templates/moderator/login.html.ep @@ -8,7 +8,7 @@ and <%= $error->[3] %> characters.

<% } =%> <%= label_for email => 'Email' %> - <%= email_field email => (id => 'email') %> + <%= email_field email => (id => 'email', autofocus => undef) %>
<% if (my $error = validation->error('password')) { =%> diff --git a/templates/moderator/mod_reset.html.ep b/templates/moderator/mod_reset.html.ep index 298f367..d4a3eb6 100644 --- a/templates/moderator/mod_reset.html.ep +++ b/templates/moderator/mod_reset.html.ep @@ -8,7 +8,7 @@ and <%= $error->[3] %> characters.

<% } =%> <%= label_for password => 'Password' %> - <%= password_field password => (id => 'password') %> + <%= password_field password => (id => 'password', autofocus => undef) %>
diff --git a/templates/moderator/promote.html.ep b/templates/moderator/promote.html.ep index 0edcc1c..6c4b0e7 100644 --- a/templates/moderator/promote.html.ep +++ b/templates/moderator/promote.html.ep @@ -8,7 +8,7 @@ and <%= $error->[3] %> characters.

<% } =%> <%= label_for email => 'Email' %> - <%= email_field email => (id => 'email') %> + <%= email_field email => (id => 'email', autofocus => undef) %> diff --git a/templates/moderator/unlock_acct.html.ep b/templates/moderator/unlock_acct.html.ep index bb2720c..4398034 100644 --- a/templates/moderator/unlock_acct.html.ep +++ b/templates/moderator/unlock_acct.html.ep @@ -8,7 +8,7 @@ and <%= $error->[3] %> characters.

<% } =%> <%= label_for email => 'Email' %> - <%= email_field email => (id => 'email') %> + <%= email_field email => (id => 'email', autofocus => undef) %> diff --git a/templates/page/captcha.html.ep b/templates/page/captcha.html.ep index db327c0..81403fe 100644 --- a/templates/page/captcha.html.ep +++ b/templates/page/captcha.html.ep @@ -18,10 +18,11 @@ <% } =%> <%= label_for answer => "What Roman numeral is this?: $roman_numeral" %> <%= number_field 'answer', ( - id => 'answer', - min => 1, - max => 9, - required => undef + id => 'answer', + min => 1, + max => 9, + required => undef, + autofocus => undef ) %> <%= hidden_field number => $roman_numeral, id => 'number' %>