diff --git a/web/app/models/UOJForm.php b/web/app/models/UOJForm.php index de75caa..349e6d3 100644 --- a/web/app/models/UOJForm.php +++ b/web/app/models/UOJForm.php @@ -134,7 +134,7 @@ class UOJForm { ]; $html = ''; - $html .= HTML::tag_begin('div', ['class' => $config['div_class']]); + $html .= HTML::tag_begin('div', ['class' => $config['div_class'], 'id' => "div-$name"]); $html .= HTML::empty_tag('input', [ 'class' => $config['input_class'], 'type' => 'checkbox',