Skip to content

Commit

Permalink
better styling layout and address id duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Jordan committed Jan 20, 2024
1 parent a281bff commit 6c2f830
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions lib/WeBWorK/ContentGenerator/CourseAdmin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1291,14 +1291,13 @@ sub do_unarchive_course ($c) {
),
$c->tag(
'div',
class => 'row',
class => 'd-flex justify-content-between',
$c->c(
$c->form_for(
$c->current_route,
method => 'POST',
class => 'col-4',
$c->c(
$c->hidden_authen_fields,
$c->hidden_authen_fields('upgrade_course_'),
$c->hidden_field(subDisplay => 'upgrade_course'),
$c->hidden_field(upgrade_course => 1),
$c->hidden_field(upgrade_courseIDs => $new_courseID),
Expand All @@ -1311,14 +1310,13 @@ sub do_unarchive_course ($c) {
),
$c->link_to(
$c->maketext('Log into Course') => 'set_list' => { courseID => $new_courseID },
class => 'btn btn-primary col-4'
class => 'btn btn-primary'
),
$c->form_for(
$c->current_route,
method => 'POST',
class => 'col-4 text-end',
$c->c(
$c->hidden_authen_fields,
$c->hidden_authen_fields('unarchive_more_'),
$c->hidden_fields('subDisplay'),
$c->hidden_field(unarchive_courseID => $unarchive_courseID),
$c->submit_button(
Expand Down

0 comments on commit 6c2f830

Please sign in to comment.