archive checkbox

This commit is contained in:
unknown authored and Christophe Vilayphiou committed 2012-08-10 15:26:34 +08:00
1 parent 26931a7b9c
commit d8b0613147
3 files changed
+7 -14

No files matched your search

+6 -1
View File
@@ -7,6 +7,11 @@ class ArchiveFile
PAYMENT_TYPES = @site_valid_locales
<<<<<<< HEAD
=======
PAYMENT_TYPES = @site_valid_locales
>>>>>>> archive checkbox
has_one :title, :class_name => "I18nVariable", :as => :language_value, :autosave => true, :dependent => :destroy
has_and_belongs_to_many :tags, :class_name => "ArchiveTag"
@@ -21,7 +26,7 @@ class ArchiveFile
belongs_to :archive_file_category
has_many :archive_file_multiples, :autosave => true, :dependent => :destroy
accepts_nested_attributes_for :archive_file_multiples, :allow_destroy => true
validates_presence_of :title
@@ -112,9 +112,7 @@
</div>
</div>
<!--Post End-->