Skip to content

Commit

Permalink
Remove the default checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Dolski committed Feb 28, 2024
1 parent e5f8e4e commit 3abe3d9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions app/views/metadata_profiles/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions app/views/submission_profiles/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3abe3d9

Please sign in to comment.