diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 3b6e9a7d2..b466e4721 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -812,7 +812,7 @@ class UsersController < ApplicationController # 必填自己的工作单位,其实就是学校 def auth_user_extension - if @user == User.current && (@user.user_extensions.nil? || @user.user_extensions.school.nil?) + if @user == User.current && @user.user_extensions.nil? flash[:error] = l(:error_complete_occupation) redirect_to my_account_url end diff --git a/app/views/account/register.html.erb b/app/views/account/register.html.erb index 07b773e87..a18c15068 100644 --- a/app/views/account/register.html.erb +++ b/app/views/account/register.html.erb @@ -26,7 +26,7 @@ <% end %>

- <%= f.text_field :mail, :required => true %> + <%= f.text_field :mail,:size => 25, :required => true %>

diff --git a/app/views/my/account.html.erb b/app/views/my/account.html.erb index 3118c10dd..4ffcc63fc 100644 --- a/app/views/my/account.html.erb +++ b/app/views/my/account.html.erb @@ -155,7 +155,7 @@