diff --git a/app/views/account/login.html.erb b/app/views/account/login.html.erb index 9031b5167..c3b6a0946 100644 --- a/app/views/account/login.html.erb +++ b/app/views/account/login.html.erb @@ -52,7 +52,7 @@ $('#login_req').html(''+data.message+''); $login_correct = true; } else { - $('#login_req').html( ''+data.message+''); + $('#login_req').html( ''+data.message+''); $login_correct = false; } $('#login_req').css('display','block'); @@ -63,7 +63,7 @@ $mail.blur(function (event) { if (/^[a-z0-9]+([._\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/.test(this.value) == false){ - $('#mail_req').html( '邮件格式不对').show(); + $('#mail_req').html( '邮件格式不对').show(); $mail_correct = false; return ; } @@ -76,7 +76,7 @@ $('#mail_req').html( ''+data.message+'' ); $mail_correct = true; } else { - $('#mail_req').html( ''+data.message+'' ); + $('#mail_req').html( ''+data.message+'' ); $mail_correct = false; } $('#mail_req').css('display','block'); @@ -92,7 +92,7 @@ $passwd_correct = true; } else { - $('#passwd_req').html( ''+'<%= l(:setting_password_min_length_limit, :count => Setting.password_min_length.to_i) %>'+''); + $('#passwd_req').html( ''+'<%= l(:setting_password_min_length_limit, :count => Setting.password_min_length.to_i) %>'+''); $passwd_correct = false; } $('#passwd_req').css('display','block'); @@ -108,7 +108,7 @@ $passwd_comfirm_correct = true; } else { - $('#confirm_req').html(''+'<%= l(:setting_password_error) %>'+''); + $('#confirm_req').html(''+'<%= l(:setting_password_error) %>'+''); $passwd_comfirm_correct = false; } @@ -118,8 +118,6 @@ }); }); - -
@@ -138,12 +136,9 @@ <% end %>
@@ -197,7 +192,9 @@
  • -
  • +
    + 注册 +
    <% end %> diff --git a/app/views/layouts/login.html.erb b/app/views/layouts/login.html.erb index 18fbcfcd5..c20335b1d 100644 --- a/app/views/layouts/login.html.erb +++ b/app/views/layouts/login.html.erb @@ -15,6 +15,7 @@ <%= call_hook :view_layouts_base_html_head %> <%= yield :header_tags -%> +