]>
Commit | Line | Data |
---|---|---|
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 | ||
15 | <form action="/actions/restore" method="POST"> | |
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 | ||
21 | <button type="submit" class="btn btn-warning btn-block"> | |
22 | {{ _("Restore") }} | |
23 | </button> | |
24 | </form> | |
25 | </div> | |
26 | </div> | |
27 | </div> | |
28 | {% end block %} |