This commit is contained in:
Aevann1 2022-01-08 08:41:40 +02:00
parent cf7f5385c1
commit fbb0fb95d2
7 changed files with 99 additions and 7 deletions

View file

@ -56,9 +56,11 @@
<li><a href="/admin/sidebar">Edit Sidebar</a></li>
</ul>
<div class="custom-control custom-switch">
<input autocomplete="off" type="checkbox" class="custom-control-input" id="disablesignups" name="disablesignups" {% if x == "yes" %}checked{% endif %} onchange="post_toast('/admin/disablesignups');">
<label class="custom-control-label" for="disablesignups">Disable signups</label>
</div>
{% if v.admin_level > 2 %}
<div class="custom-control custom-switch">
<input autocomplete="off" type="checkbox" class="custom-control-input" id="disablesignups" name="disablesignups" {% if x == "yes" %}checked{% endif %} onchange="post_toast('/admin/disablesignups');">
<label class="custom-control-label" for="disablesignups">Disable signups</label>
</div>
{% endif %}
{% endblock %}