Public archive for the Return to Ritherdon project.
https://www.nicolaellisandritherdon.com
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
605 B
19 lines
605 B
2 years ago
|
{% extends "layouts/default.html" %}
|
||
|
{% block title %}Manage the site's archive.{% endblock %}
|
||
|
{% block content %}
|
||
|
<h1>Archive</h1>
|
||
|
{% for entry in archive-entries %}
|
||
|
<div>
|
||
|
<a href="/view/archive/{{entry.slug}}">{{entry.title}}</a>
|
||
|
<a href="/edit/archive/{{entry.slug}}">Edit</a>
|
||
|
{% if roles.administrator %}
|
||
|
<form action="/entry/delete" method="post">
|
||
|
<input required type="hidden" name="AUTHENTICITY-TOKEN" value="{{token}}">
|
||
|
<input required type="hidden" name="slug" value="{{entry}}">
|
||
|
<input type="submit" value="Delete">
|
||
|
</form>
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
{% endfor %}
|
||
|
{% endblock %}
|