FreedomBox/plinth/modules/diagnostics/templates/diagnostics_button.html
Sunil Mohan Adapa e89e2b4a2a
*.html: Use SPDX license identifier
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-02-19 14:39:19 +02:00

19 lines
496 B
HTML

{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load i18n %}
<form class="form form-diagnostics-button" method="post"
action="{% url 'diagnostics:app' app_id %}">
{% csrf_token %}
{% if enabled %}
<input type="submit" class="btn btn-default"
value="{% trans "Run Diagnostics" %}"/>
{% else %}
<input type="submit" class="btn btn-default"
value="{% trans "Run Diagnostics" %}" disabled="disabled"/>
{% endif %}
</form>