{% block title %}{{ _("Restore %s") % page.page }}{% end block %}
{% block content %}
- <!--<div class="row justify-content-center my-5">
- <div class="col col-md-6">
- <div class="card card-body">
- <h5 class=" mb-4">{{ _("Restore %s") % page.page }}</h5>
-
- <p>
- {{ _("Do you really want to restore this page to its revision from %s?") % locale.format_date(page.timestamp) }}
- </p>
-
- <form action="/docs/_restore" method="POST">
- {% raw xsrf_form_html() %}
-
- <input type="hidden" name="path" value="{{ page.page }}">
- <input type="hidden" name="revision" value="{{ page.timestamp.isoformat() }}">
-
- <div class="mb-3">
- <input class="form-control" type="text" name="comment"
- placeholder="{{ _("Comment") }}">
- </div>
-
- <div class="d-grid">
- <button type="submit" class="btn btn-warning">
- {{ _("Restore") }}
- </button>
- </div>
- </form>
- </div>
- </div>
- </div>-->
-
<section class="hero is-light">
<div class="hero-body">
<div class="container">
</div>
</section>
- <section class="section">
- <p>
- {{ _("Do you really want to restore this page to its revision from %s?") % locale.format_date(page.timestamp) }}
- </p>
-
- <form action="/docs/_restore" method="POST">
- {% raw xsrf_form_html() %}
-
- <input type="hidden" name="path" value="{{ page.page }}">
- <input type="hidden" name="revision" value="{{ page.timestamp.isoformat() }}">
-
- <div class="control">
- <input class="input" type="text" name="comment"
- placeholder="{{ _("Comment") }}">
- </div>
-
- <button type="submit" class="button is-warning">
- {{ _("Restore") }}
- </button>
- </form>
- </section>
-
+ <div class="container">
+ <section class="section">
+ <p>
+ {{ _("Do you really want to restore this page to its revision from %s?") % locale.format_date(page.timestamp) }}
+ </p>
+
+ <form action="/docs/_restore" method="POST">
+ {% raw xsrf_form_html() %}
+
+ <input type="hidden" name="path" value="{{ page.page }}">
+ <input type="hidden" name="revision" value="{{ page.timestamp.isoformat() }}">
+
+ <div class="control">
+ <input class="input" type="text" name="comment"
+ placeholder="{{ _("Comment") }}">
+ </div>
+
+ <button type="submit" class="button is-warning">
+ {{ _("Restore") }}
+ </button>
+ </form>
+ </section>
+ </div>
{% end block %}