Skip to content

Commit

Permalink
Add proquest_zipfile to GwETD edit form
Browse files Browse the repository at this point in the history
  • Loading branch information
kerchner committed Dec 9, 2024
1 parent f1400d6 commit 5424127
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/forms/hyrax/gw_etd_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ module Hyrax
# class GwEtdForm < Hyrax::Forms::WorkForm
class GwEtdForm < GwWorkForm
self.model_class = ::GwEtd
self.terms += [:degree, :advisor, :committee_member]
self.terms += [:degree, :advisor, :committee_member, :proquest_zipfile]

def secondary_terms
super + [:degree, :advisor, :committee_member]
super + [:degree, :advisor, :committee_member, :proquest_zipfile]
end
end
end
1 change: 1 addition & 0 deletions config/locales/hyrax.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ en:
volume: "Volume Number"
issue: "Issue Number"
permanent_url: "Persistent URL"
proquest_zipfile: "ProQuest ZIP file name"
hints:
defaults:
title: 'The name of the work.'
Expand Down

0 comments on commit 5424127

Please sign in to comment.