try a wrapper div for training form

This commit is contained in:
Evan Prodromou 2012-03-07 13:21:34 -06:00
parent bf617fd455
commit 6cabea6ae6

View File

@ -184,10 +184,14 @@ class ActivitySpamPlugin extends Plugin
// XXX: show a question-mark or something // XXX: show a question-mark or something
} else if ($score->is_spam) { } else if ($score->is_spam) {
$form = new TrainHamForm($out, $notice); $form = new TrainHamForm($out, $notice);
$out->elementStart('div', 'notice-options');
$form->show(); $form->show();
$out->elementEnd('div');
} else if (!$score->is_spam) { } else if (!$score->is_spam) {
$form = new TrainSpamForm($out, $notice); $form = new TrainSpamForm($out, $notice);
$out->elementStart('div', 'notice-options');
$form->show(); $form->show();
$out->elementEnd('div');
} }
} }