From c24fdee13464843ca86f393f9737ae1df79a1ddb Mon Sep 17 00:00:00 2001
From: Linda <2294690300@qq.com>
Date: Wed, 29 Jun 2016 08:48:13 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E8=B5=84=E6=96=99=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E6=96=B0=E7=89=88=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Gemfile | 2 +-
app/views/my/account.html.erb | 47 +++++++++++------------------------
2 files changed, 16 insertions(+), 33 deletions(-)
diff --git a/Gemfile b/Gemfile
index d392c6561..a1ea263f5 100644
--- a/Gemfile
+++ b/Gemfile
@@ -6,7 +6,7 @@ unless RUBY_PLATFORM =~ /w32/
gem 'iconv'
end
-gem 'certified'
+# gem 'certified'
gem 'wechat',path: 'lib/wechat'
gem 'grack', path:'lib/grack'
diff --git a/app/views/my/account.html.erb b/app/views/my/account.html.erb
index 9cca5da5c..f28ad1ca2 100644
--- a/app/views/my/account.html.erb
+++ b/app/views/my/account.html.erb
@@ -15,14 +15,13 @@
<%= error_messages_for 'user',@user.user_extensions %>
<% end %>
- - 登录名 : *
- - 邮箱 : *
- - 身份 : *
- - 姓(Last Name) : *
- - 名(First Name) : *
+ - * 登录名 :
+ - * 邮箱 :
+ - * 职业 :
+ - * 姓名 :
- 组织名 : *
- 性别 :
- - 工作单位 :
+ - 单位名称 :
- 地区 :
- 邮件通知 :
@@ -66,34 +65,18 @@
- <%= f.text_field :lastname,:no_label=>true, :required => true,:nh_required=>"1",:class=>"w210" %>
-
- <%= f.text_field :firstname,:no_label=>true, :required => true,:nh_required=>"1",:class=>"w210" %>
+
- <%= text_field_tag :enterprise_name,@user.firstname,:no_label=>true, :required => true,:nh_required=>"1",:class=>"w210" %>
-
-
+
+
- -
- <% if User.current.user_extensions.nil? %>
-
-
- 平台找到了0个包含"国防"的高校
-
- <% elsif User.current.user_extensions.identity == 3 || User.current.user_extensions.identity == 2 %>
-
-
- 平台找到了0个包含"国防"的高校
-
- <% elsif User.current.user_extensions.school.nil? %>
-
-
- 平台找到了0个包含"国防"的高校
-
- <% else %>
-
-
- 平台找到了0个包含"国防"的高校
-
- <% end %>
+
-
+
+
您输入的名称尚不存在,申请添加
-
@@ -140,13 +123,13 @@
-
<%= select_tag( 'user[mail_notification]', options_for_select( user_mail_notification_options(@user), @user.mail_notification) ) %>
-
+
- <%= f.select :language, :Chinese => :zh, :English => :en %>
-
- 确认
+ 确定