mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-29 23:11:02 +00:00
Confirm before deleting an article
This commit is contained in:
parent
10d4599c9b
commit
0e901c7f59
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
<span class="date">{{ date | date(format="%B %e, %Y") }}</span>
|
||||
{% if is_author %}
|
||||
—
|
||||
<a href="{{ article.url}}delete">{{ "Delete this article" | _ }}</a>
|
||||
<a href="{{ article.url}}delete" onclick="return confirm('Are you sure you?')">{{ "Delete this article" | _ }}</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
<article>
|
||||
|
|
Loading…
Reference in a new issue