]>
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 | ||
9f1cfab7 MT |
21 | <div class="form-group"> |
22 | <input class="form-control" type="text" name="comment" | |
23 | placeholder="{{ _("Comment") }}"> | |
24 | </div> | |
25 | ||
d4c68c5c MT |
26 | <button type="submit" class="btn btn-warning btn-block"> |
27 | {{ _("Restore") }} | |
28 | </button> | |
29 | </form> | |
30 | </div> | |
31 | </div> | |
32 | </div> | |
33 | {% end block %} |