parent
84dac1d250
commit
4467bc5e48
|
@ -13,8 +13,8 @@ class Bulletin
|
|||
has_one :text, :class_name => "I18nVariable", :as => :language_value, :autosave => true, :dependent => :destroy
|
||||
has_and_belongs_to_many :tags, :class_name => "AnnouncementTag"
|
||||
|
||||
field :postdate , :type => Date
|
||||
field :deadline , :type => Date
|
||||
field :postdate , :type => DateTime
|
||||
field :deadline , :type => DateTime
|
||||
# field :url
|
||||
field :create_user_id
|
||||
field :update_user_id, :class_name => "User"
|
||||
|
|
|
@ -13,8 +13,8 @@ class NewsBulletin
|
|||
has_one :text, :class_name => "I18nVariable", :as => :language_value, :autosave => true, :dependent => :destroy
|
||||
has_and_belongs_to_many :tags, :class_name => "NewsTag"
|
||||
|
||||
field :postdate , :type => Date
|
||||
field :deadline , :type => Date
|
||||
field :postdate , :type => DateTime
|
||||
field :deadline , :type => DateTime
|
||||
# field :url
|
||||
field :create_user_id
|
||||
field :update_user_id, :class_name => "User"
|
||||
|
|
Loading…
Reference in New Issue