diff --git a/vendor/built_in_modules/archive/app/models/archive_file.rb b/vendor/built_in_modules/archive/app/models/archive_file.rb index 4cc26dde..fccdaa34 100644 --- a/vendor/built_in_modules/archive/app/models/archive_file.rb +++ b/vendor/built_in_modules/archive/app/models/archive_file.rb @@ -4,7 +4,7 @@ class ArchiveFile include Mongoid::Document include Mongoid::Timestamps include Mongoid::MultiParameterAttributes - + PAYMENT_TYPES = @site_valid_locales has_one :title, :class_name => "I18nVariable", :as => :language_value, :autosave => true, :dependent => :destroy diff --git a/vendor/built_in_modules/archive/app/views/panel/archive/back_end/archive_files/_form.html.erb b/vendor/built_in_modules/archive/app/views/panel/archive/back_end/archive_files/_form.html.erb index 4d4fd5f1..b46f1652 100644 --- a/vendor/built_in_modules/archive/app/views/panel/archive/back_end/archive_files/_form.html.erb +++ b/vendor/built_in_modules/archive/app/views/panel/archive/back_end/archive_files/_form.html.erb @@ -70,7 +70,6 @@ <% end %> -
@@ -114,95 +113,7 @@ - - - -
- -
- - - - - - - - - - - - - - - - - - - <% @archive_file.archive_file_multiples.each_with_index do |archive_file_multiple, i| %> - <%= f.fields_for :archive_file_multiples, archive_file_multiple do |f| %> - <%= render :partial => 'form_file', :object => archive_file_multiple, :locals => {:f => f, :i => i} %> - <% end %> - <% end %> - -
FileFile Name<%= t('呈現語系')%>
-
- <%= hidden_field_tag 'archive_file_multiple_field_count', @archive_file.archive_file_multiples.count %> - ADD/新增 -
-
- -
- -
- - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - <% @archive_file.archive_file_multiples.each_with_index do |archive_file_multiple, i| %> - <%= f.fields_for :archive_file_multiples, archive_file_multiple do |f| %> - <%= render :partial => 'form_file', :object => archive_file_multiple, :locals => {:f => f, :i => i} %> - <% end %> - <% end %> - -
FileFile Name<%= t('呈現語系')%>
-
- <%= hidden_field_tag 'archive_file_multiple_field_count', @archive_file.archive_file_multiples.count %> - ADD/新增 -
-
- -
- -
- - - - - +