app/forms/hyrax/forms/pcdm_collection_form.rb in hyrax-5.0.0.rc2 vs app/forms/hyrax/forms/pcdm_collection_form.rb in hyrax-5.0.0.rc3

- old
+ new

@@ -3,11 +3,11 @@ module Hyrax module Forms ## # @api public # @see https://github.com/samvera/valkyrie/wiki/ChangeSets-and-Dirty-Tracking - class PcdmCollectionForm < Valkyrie::ChangeSet # rubocop:disable Metrics/ClassLength + class PcdmCollectionForm < Hyrax::Forms::ResourceForm # rubocop:disable Metrics/ClassLength include Hyrax::FormFields(:core_metadata) BannerInfoPrepopulator = lambda do |**_options| self.banner_info ||= begin banner_info = CollectionBrandingInfo.where(collection_id: id.to_s, role: "banner") @@ -30,13 +30,9 @@ linkurl = logo_info.target_url { file: logo_file, full_path: logo_info.local_path, relative_path: relative_path, alttext: alttext, linkurl: linkurl } end end end - - property :human_readable_type, writable: false - property :date_modified, readable: false - property :date_uploaded, readable: false property :depositor, required: true property :collection_type_gid, required: true property :visibility, default: VisibilityIntention::PRIVATE