aboutsummaryrefslogtreecommitdiffstats
path: root/templates/wiki/page_move.html
blob: 409c02e7b6db3c49b064778a7a82744f87cd8d56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{% extends "wiki/base.html" %}
{% block title %}Wiki | Move: {{ page }}{% endblock %}
{% block og_title %}Wiki | Move: {{ page }}{% endblock %}
{% block og_description %}{% endblock %}
{% block content %}
    <div class="uk-container uk-container-small">
        {% if message is defined %}
        <div uk-alert class="uk-alert-danger">
            <p>{{ message }}</p>
        </div>
        {% endif %}

        <h3>Move Page: {{ page }}</h3>
        <form uk-grid class="uk-grid-small" action="{{ url_for("wiki.move", page=page) }}" method="post">
            <input type="text" class="uk-width-1-1 uk-input" placeholder="{{ page }}" id="location" name="location" style="margin-left: 15px;" required>
            <div class="uk-width-1-2">
                <a href="{{ url_for("wiki.page", page=page) }}" class="uk-button uk-button-secondary uk-width-1-1" type="button" id="cancel">Cancel</a>
            </div>
            <div class="uk-width-1-2">
                <input class="uk-button uk-button-primary uk-width-1-1" type="submit" id="move" value="Move" />
            </div>

            <input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
        </form>
    </div>
{% endblock %}