From 3abe3d9378c23f590341e36dc4b250fbbed0a96e Mon Sep 17 00:00:00 2001 From: Alex Dolski Date: Wed, 28 Feb 2024 10:56:42 -0600 Subject: [PATCH] Remove the default checkbox --- app/views/metadata_profiles/_form.html.haml | 6 ------ app/views/submission_profiles/_form.html.haml | 4 ---- 2 files changed, 10 deletions(-) diff --git a/app/views/metadata_profiles/_form.html.haml b/app/views/metadata_profiles/_form.html.haml index 5fd54387..de436848 100644 --- a/app/views/metadata_profiles/_form.html.haml +++ b/app/views/metadata_profiles/_form.html.haml @@ -27,12 +27,6 @@ max: MetadataProfileElement::MAX_RELEVANCE_WEIGHT, class: "form-control" - - unless f.object.global? - .mb-3 - .form-check - = f.check_box :institution_default, class: 'form-check-input' - = f.label :institution_default, "Default", class: "form-check-label" - - if f.object.new_record? .mb-3 %h4 Initial Elements diff --git a/app/views/submission_profiles/_form.html.haml b/app/views/submission_profiles/_form.html.haml index bb0654a9..a34be52c 100644 --- a/app/views/submission_profiles/_form.html.haml +++ b/app/views/submission_profiles/_form.html.haml @@ -7,10 +7,6 @@ .mb-3 = f.label :name, class: "required" = f.text_field :name, class: 'form-control' - .mb-3 - .form-check - = f.check_box :institution_default, class: 'form-check-input' - = f.label :institution_default, "Default", class: "form-check-label" - if f.object.new_record? .mb-3