fix(web/problem/solution): confirm before remove solution
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-10-20 11:25:35 +08:00
parent 6b20408fc1
commit 74d1cb6eea
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -74,6 +74,7 @@ EOD;
$res_form->submit_button_config['margin_class'] = 'mt-0'; $res_form->submit_button_config['margin_class'] = 'mt-0';
$res_form->submit_button_config['class_str'] = 'btn btn-link text-decoration-none text-danger p-0'; $res_form->submit_button_config['class_str'] = 'btn btn-link text-decoration-none text-danger p-0';
$res_form->submit_button_config['text'] = '移除'; $res_form->submit_button_config['text'] = '移除';
$res_form->submit_button_config['confirm_text'] = '你真的要移除这篇题解吗?';
$res_form->submit_button_config['align'] = 'inline'; $res_form->submit_button_config['align'] = 'inline';
return $res_form; return $res_form;