]> git.ipfire.org Git - ipfire.org.git/blame - src/templates/docs/confirm-restore.html
docs/modules/list: adjusted text size
[ipfire.org.git] / src / templates / docs / confirm-restore.html
CommitLineData
d4c68c5c
MT
1{% extends "base.html" %}
2
3{% block title %}{{ _("Restore %s") % page.page }}{% end block %}
4
5{% block content %}
6 <div class="row justify-content-center my-5">
7 <div class="col col-md-6">
8 <div class="card card-body">
9 <h5 class=" mb-4">{{ _("Restore %s") % page.page }}</h5>
10
11 <p>
12 {{ _("Do you really want to restore this page to its revision from %s?") % locale.format_date(page.timestamp) }}
13 </p>
14
bb998aca 15 <form action="/docs/_restore" method="POST">
d4c68c5c
MT
16 {% raw xsrf_form_html() %}
17
18 <input type="hidden" name="path" value="{{ page.page }}">
19 <input type="hidden" name="revision" value="{{ page.timestamp.isoformat() }}">
20
1f12d610 21 <div class="mb-3">
9f1cfab7
MT
22 <input class="form-control" type="text" name="comment"
23 placeholder="{{ _("Comment") }}">
24 </div>
25
e6b114b8
MT
26 <div class="d-grid">
27 <button type="submit" class="btn btn-warning">
28 {{ _("Restore") }}
29 </button>
30 </div>
d4c68c5c
MT
31 </form>
32 </div>
33 </div>
34 </div>
35{% end block %}