We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eed334e commit d92b7abCopy full SHA for d92b7ab
app/views/records/edit_fields/_person.html.erb
@@ -23,7 +23,7 @@
23
<div class="person col-sm-12 <%= person_term %>-affiliation">
24
<% is_required = person_term == 'creator' && f.object_name == 'honors_thesis' %>
25
<%# Replace old value of UNC Libraries to avoid duplicate key in the yaml file %>
26
- <% aff_val = person.object.affiliation.first.to_s.gsub(/(\.\s+)Library$/, '\1University Libraries') %>
+ <% aff_val = person.object.affiliation.first.to_s %>
27
<%= person.input :affiliation, as: :select,
28
label: "UNC affiliation (#{person_term_display})",
29
collection: DepartmentsService.select_all_options.sort,
0 commit comments