FreedomBox/plinth/modules/backups/templates/backups_restore.html
Sunil Mohan Adapa 625146329d
backups: tests: functional: Find forms more accurately
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-09-03 17:29:01 -04:00

32 lines
571 B
HTML

{% extends "base.html" %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load bootstrap %}
{% load i18n %}
{% load static %}
{% block content %}
<h2>{{ title }}</h2>
{% if name %}
<p>
{% trans 'Restore data from' %} {{ name }}
</p>
{% endif %}
<p>
<form class="form form-restore" method="post">
{% csrf_token %}
{{ form|bootstrap }}
<input id="restore_btn" type="submit"
class="btn btn-primary"
value="{% trans 'Restore' %}" />
</form>
</p>
{% endblock %}