added confirmation to deleting

This commit is contained in:
2022-05-07 10:33:00 +02:00
parent 10e69d8add
commit fcecd1f819
8 changed files with 73 additions and 35 deletions

View File

@@ -19,9 +19,10 @@
<h2>Pages Paramètres</h2>
{% if request.authenticated_userid %}
<p><a href="{{ request.route_url('blog_edit', topic=topic, id='0') }}">
[Nouveau post]</a>
</p>
<p>
<a href="{{ request.route_url('blog_edit', topic=topic, id='0') }}" class="btn btn-success" role="button">
<span class="glyphicon glyphicon-plus"></span> Nouvelle page</a>
</p>
{% endif%}
<ul>