Sha256: 1e94540c91f39bb9df8ac26e0bc2e5ffaa05996a7632510a90733570aecee59d
Contents?: true
Size: 714 Bytes
Versions: 10
Compression:
Stored size: 714 Bytes
Contents
# frozen_string_literal: true # Generated via # `rails generate hyrax:work_resource GenericWork` # # @see https://github.com/samvera/hyrax/wiki/Hyrax-Valkyrie-Usage-Guide#forms # @see https://github.com/samvera/valkyrie/wiki/ChangeSets-and-Dirty-Tracking class GenericWorkForm < Hyrax::Forms::ResourceForm(GenericWork) include Hyrax::FormFields(:basic_metadata) include Hyrax::FormFields(:generic_work) # Define custom form fields using the Valkyrie::ChangeSet interface # # property :my_custom_form_field # if you want a field in the form, but it doesn't have a directly corresponding # model attribute, make it virtual # # property :user_input_not_destined_for_the_model, virtual: true end
Version data entries
10 entries across 10 versions & 1 rubygems