aboutsummaryrefslogtreecommitdiffstats
path: root/server/templates
diff options
context:
space:
mode:
Diffstat (limited to 'server/templates')
-rw-r--r--server/templates/server/index.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/templates/server/index.html b/server/templates/server/index.html
index d8a13f2..a6c25aa 100644
--- a/server/templates/server/index.html
+++ b/server/templates/server/index.html
@@ -56,6 +56,7 @@
{% endif %}
<div class="card large">
<div class="card-content">
+ {% if user.is_staff %}
<form id="form" action="{% url 'server'%}" method="post">
{% csrf_token %}
<div class="row">
@@ -73,6 +74,7 @@
</div>
</div>
</form>
+ {% endif %}
<ul class="collection">
{% for doctype in docs %}
<li class="collection-item">