跟着麦叔学flask,感谢b站麦叔
This commit is contained in:
5
templates/study/delete.html
Executable file
5
templates/study/delete.html
Executable file
@@ -0,0 +1,5 @@
|
||||
<b>确定要删除 "{{ posts['title'] }}" 吗?</b>
|
||||
|
||||
<form action="{{ url_for('study.delete_posts_id', posts_id=posts['id']) }}" method="post">
|
||||
<input type="submit" value="删除文章" class="btn btn-danger htn-sm" onclick="return confirm('确定要删除吗')">
|
||||
</form>
|
||||
Reference in New Issue
Block a user