+
<%= text_field rename_newCourseInstitution => '',
class => 'form-control', 'aria-labelledby' => 'rename_newCourseInstitution_label' =%>
diff --git a/templates/ContentGenerator/CourseAdmin/unarchive_course_form.html.ep b/templates/ContentGenerator/CourseAdmin/unarchive_course_form.html.ep
index 0dcda1fbfc..1218c6bfe7 100644
--- a/templates/ContentGenerator/CourseAdmin/unarchive_course_form.html.ep
+++ b/templates/ContentGenerator/CourseAdmin/unarchive_course_form.html.ep
@@ -3,7 +3,8 @@
<%= maketext('Unarchive Course') %> <%= $c->helpMacro('AdminUnarchiveCourse') %>
%
% # Find courses which have been archived.
-% my @courseIDs = sort { lc($a) cmp lc($b) } listArchivedCourses($ce);
+% my %courseArchives = listArchivedCourses($ce);
+% my @courseIDs = sort { lc($a) cmp lc($b) } keys %courseArchives;
%
% if (@courseIDs) {
<%= form_for current_route, method => 'POST', begin =%>
@@ -12,20 +13,25 @@
%
<%= maketext('Select a course to unarchive.') =%>
%
-
+
- <%= label_for 'unarchive_courseID' => maketext('Course Name:'), class => 'col-sm-4 col-form-label' =%>
-
- <%= select_field unarchive_courseID => \@courseIDs,
- id => 'unarchive_courseID',
- class => 'form-select',
- size => 10
+ <%= label_for 'unarchive_courseID' => maketext('Course ID:'),
+ class => 'col-lg-3 col-md-4 col-form-label fw-bold' =%>
+
+ <%= select_field
+ unarchive_courseID => [
+ map { [ "$_ ($courseArchives{$_}{size})" => $courseArchives{$_}{filename} ] } @courseIDs
+ ],
+ id => 'unarchive_courseID',
+ class => 'form-select',
+ size => 10
=%>
- <%= label_for new_courseID => maketext('New Name:'), class => 'col-sm-4 col-form-label' =%>
-
+ <%= label_for new_courseID => maketext('New ID:'),
+ class => 'col-lg-3 col-md-4 col-form-label fw-bold' =%>
+
<%= text_field new_courseID => '',
id => 'new_courseID',
size => 25,