diff --git a/app/models/honor.rb b/app/models/honor.rb index bfa77f9..6f39ad1 100644 --- a/app/models/honor.rb +++ b/app/models/honor.rb @@ -8,12 +8,13 @@ class Honor belongs_to :member_profile field :year - field :award_name - field :awarding_unit + field :award_name, localize: true + field :awarding_unit, localize: true field :language field :keywords field :url field :note + field :rss2_id field :create_user_id, :type => BSON::ObjectId field :update_user_id, :type => BSON::ObjectId diff --git a/app/views/admin/honors/_form.html.erb b/app/views/admin/honors/_form.html.erb index a1c1af6..1450ba0 100644 --- a/app/views/admin/honors/_form.html.erb +++ b/app/views/admin/honors/_form.html.erb @@ -53,22 +53,6 @@ - -