summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/servers.html
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates/servers.html')
-rw-r--r--ogcp/templates/servers.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/templates/servers.html b/ogcp/templates/servers.html
index 9a466ea..bc09c4f 100644
--- a/ogcp/templates/servers.html
+++ b/ogcp/templates/servers.html
@@ -25,6 +25,7 @@
{% endblock %}
{% block commands %}
+{% if current_user.is_authenticated %}
<input class="btn btn-light {% block nav_server_add %}{% endblock %}" type="submit" value="{{ _('Add server') }}"
form="serversForm" formaction="{{ url_for('server_add_get') }}" formmethod="get">
<input class="btn btn-light {% block nav_server_delete %}{% endblock %}" type="submit" value="{{ _('Delete server') }}"
@@ -34,5 +35,6 @@
{{ _("Back") }}
</button>
{% endif %}
+{% endif %}
{% endblock %}