{% block title %}{{ _("Restore %s") % page.page }}{% end block %}
-{% block content %}
+{% block container %}
<section class="hero is-light">
<div class="hero-body">
<div class="container">
<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>
+ <div class="block">
+ <p>
+ {{ _("Do you really want to restore this page to its revision from %s?") % locale.format_date(page.timestamp) }}
+ </p>
+ </div>
- <form action="/docs/_restore" method="POST">
- {% raw xsrf_form_html() %}
+ <div class="block">
+ <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() }}">
+ <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>
+ <div class="control">
+ <input class="input" type="text" name="comment"
+ placeholder="{{ _("Comment") }}">
+ </div>
- <button type="submit" class="button is-warning">
- {{ _("Restore") }}
- </button>
- </form>
+ <div class="control">
+ <button type="submit" class="button is-warning">
+ {{ _("Restore") }}
+ </button>
+ </div>
+ </form>
+ </div>
</section>
</div>
{% end block %}