diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2021-08-18 15:35:53 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2021-08-18 15:36:45 +0200 |
commit | 90efbc392d911605fdfe81a5e2634b72fd76474c (patch) | |
tree | 7c42330de0a4c0e7e9f9b3b1fb4c74e58a45af32 /server/templates | |
parent | set default key and use secure cookies (diff) | |
download | scout-subs-90efbc392d911605fdfe81a5e2634b72fd76474c.tar.gz scout-subs-90efbc392d911605fdfe81a5e2634b72fd76474c.zip |
correct primary group on doc export
Diffstat (limited to 'server/templates')
-rw-r--r-- | server/templates/server/index.html | 2 |
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"> |