diff --git a/app/views/my/account.html.erb b/app/views/my/account.html.erb
index 341c050d7..58f684009 100644
--- a/app/views/my/account.html.erb
+++ b/app/views/my/account.html.erb
@@ -108,22 +108,23 @@
-
+
<% unless User.current.user_extensions.school.nil? %>
- <%= l(:field_occupation) %> *<%= select_tag "province", options_from_collection_for_select(School.find_by_sql("select distinct province from schools"), :province, :province, User.current.user_extensions.school.province), :onclick => "get_options(this.value)" %>
-
-
-
-
-
+
+ <%= l(:field_occupation) %> *
+
+
+
+
+
-
<% else %>
- <%= l(:field_occupation) %> *<%= select_tag "province", options_from_collection_for_select(School.find_by_sql("select distinct province from schools"), :province, :province), :onclick => "get_options(this.value)" %>
+
+ <%= l(:field_occupation) %> *
+
+
+
-
-
<% end %>
@@ -131,6 +132,18 @@
学校列表
+
+
+ <% @ss = School.find_by_sql("select distinct province from schools") %>
+ <% @ss.each do |s| %>
+ -
+ <%= s.province %>
+
+
+ <% end %>
+
+
+
diff --git a/public/stylesheets/nyan.css b/public/stylesheets/nyan.css
index 62c47abb2..85751a088 100644
--- a/public/stylesheets/nyan.css
+++ b/public/stylesheets/nyan.css
@@ -227,17 +227,15 @@ body {
display: none;
padding-bottom: 2px;
width: 1000px;
- height: 500px;
z-index: 100;
left: 50%;
margin-left: -202px;
opacity: 1;
position: fixed;
top: 200px;
- overflow: scroll;
}
#WOpenWindow .school_list{
- width:1000px;
+ width: 900px;
line-height: 20px;
}
@@ -259,6 +257,12 @@ body {
}
#WOpenWindow .content{
width: 1000px;
+ height: 220px;
+ overflow: scroll;
+}
+
+#WOpenWindow .pcontent{
+
}