File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
lib/WeBWorK/ContentGenerator
templates/ContentGenerator/CourseAdmin Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ sub add_course_form ($c) {
229229sub add_course_validate ($c ) {
230230 my $ce = $c -> ce;
231231
232- my $add_courseID = trim_spaces($c -> param(' add_courseID ' )) || ' ' ;
232+ my $add_courseID = trim_spaces($c -> param(' new_courseID ' )) || ' ' ;
233233 my $add_initial_userID = trim_spaces($c -> param(' add_initial_userID' )) || ' ' ;
234234 my $add_initial_password = trim_spaces($c -> param(' add_initial_password' )) || ' ' ;
235235 my $add_initial_confirmPassword = trim_spaces($c -> param(' add_initial_confirmPassword' )) || ' ' ;
@@ -293,7 +293,7 @@ sub do_add_course ($c) {
293293 my $db = $c -> db;
294294 my $authz = $c -> authz;
295295
296- my $add_courseID = trim_spaces($c -> param(' add_courseID ' )) || ' ' ;
296+ my $add_courseID = trim_spaces($c -> param(' new_courseID ' )) || ' ' ;
297297 my $add_courseTitle = trim_spaces($c -> param(' add_courseTitle' )) || ' ' ;
298298 my $add_courseInstitution = trim_spaces($c -> param(' add_courseInstitution' )) || ' ' ;
299299
Original file line number Diff line number Diff line change 1414 <div class="row mb-2">
1515 <div class="col-lg-8 col-md-10">
1616 <div class="form-floating mb-1">
17- <%= text_field add_courseID => '',
18- id => 'add_courseID ',
17+ <%= text_field new_courseID => '',
18+ id => 'new_courseID ',
1919 placeholder => '',
2020 class => 'form-control' =%>
21- <%= label_for add_courseID => maketext('Course ID') =%>
21+ <%= label_for new_courseID => maketext('Course ID') =%>
2222 </div>
2323 <div class="form-floating mb-1">
2424 <%= text_field add_courseTitle => '',
You can’t perform that action at this time.
0 commit comments