{% 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 no-running-status"
           value="{% trans "Run Diagnostics" %}"/>
  {% else %}
    <input type="submit" class="btn btn-default"
           value="{% trans "Run Diagnostics" %}" disabled="disabled"/>
  {% endif %}
</form>
