fix(web/blog/delete): succ_href

This commit is contained in:
Baoshuo Ren 2022-10-18 08:55:37 +08:00
parent 8a7930e18c
commit 2da9633b01
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -38,7 +38,7 @@ EOD;
}; };
$delete_form->submit_button_config['class_str'] = 'btn btn-danger'; $delete_form->submit_button_config['class_str'] = 'btn btn-danger';
$delete_form->submit_button_config['text'] = '是的,我确定要删除'; $delete_form->submit_button_config['text'] = '是的,我确定要删除';
$delete_form->succ_href = "/archive"; $delete_form->succ_href = HTML::blog_url($blog['poster'], '/archive');
$delete_form->runAtServer(); $delete_form->runAtServer();
?> ?>