From b21e46c80c6a8229cb5a3cf3fdda8aa4b076593c Mon Sep 17 00:00:00 2001 From: Jaimos Skriletz Date: Mon, 11 Nov 2024 08:09:44 -0700 Subject: [PATCH] Tweaks to add course form layout. --- .../CourseAdmin/add_course_form.html.ep | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/templates/ContentGenerator/CourseAdmin/add_course_form.html.ep b/templates/ContentGenerator/CourseAdmin/add_course_form.html.ep index 3ce6453394..fab6ac3c91 100644 --- a/templates/ContentGenerator/CourseAdmin/add_course_form.html.ep +++ b/templates/ContentGenerator/CourseAdmin/add_course_form.html.ep @@ -36,24 +36,26 @@ -
+
<%= maketext( 'Select [_1] course users to add to the new course (as the stated permission) below.', $ce->{admin_course_id}) =%>
-
- % for my $user ($db->listUsers) { - % my $val = $db->getPermissionLevel($user)->permission; - % my $role = maketext((grep { $ce->{userRoles}{$_} eq $val } keys %{ $ce->{userRoles} })[0]); -
- -
- % } +
+
+ % for my $user ($db->listUsers) { + % my $val = $db->getPermissionLevel($user)->permission; + % my $role = maketext((grep { $ce->{userRoles}{$_} eq $val } keys %{ $ce->{userRoles} })[0]); +
+ +
+ % } +
@@ -62,7 +64,7 @@ . 'The user ID may contain only numbers, letters, hyphens, periods (dots), commas,and underscores.' ) =%>
-
+
<%= text_field add_initial_userID => '',