From 5424127c23303ddaa1e84c0b5f5e88098b9718c7 Mon Sep 17 00:00:00 2001 From: Dan Kerchner Date: Mon, 9 Dec 2024 20:30:13 +0000 Subject: [PATCH] Add proquest_zipfile to GwETD edit form --- app/forms/hyrax/gw_etd_form.rb | 4 ++-- config/locales/hyrax.en.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/forms/hyrax/gw_etd_form.rb b/app/forms/hyrax/gw_etd_form.rb index 2972b4d4..08936973 100644 --- a/app/forms/hyrax/gw_etd_form.rb +++ b/app/forms/hyrax/gw_etd_form.rb @@ -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 diff --git a/config/locales/hyrax.en.yml b/config/locales/hyrax.en.yml index 355b2ee1..a56cbf6e 100644 --- a/config/locales/hyrax.en.yml +++ b/config/locales/hyrax.en.yml @@ -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.'