Sha256: 4bc6c16b403d93ec296ed2b1885f3d6f14c51aeb160523bf96b71051dfea40ff
Contents?: true
Size: 736 Bytes
Versions: 20
Compression:
Stored size: 736 Bytes
Contents
# frozen_string_literal: true # Generated via # `rails generate hyrax:work_resource <%= class_name %>` # # @see https://github.com/samvera/hyrax/wiki/Hyrax-Valkyrie-Usage-Guide#forms # @see https://github.com/samvera/valkyrie/wiki/ChangeSets-and-Dirty-Tracking class <%= class_name %>Form < Hyrax::Forms::ResourceForm(<%= class_name %>) include Hyrax::FormFields(:basic_metadata) include Hyrax::FormFields(:<%= file_name %>) # 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
20 entries across 20 versions & 1 rubygems