Added csrf

This commit is contained in:
TimZ99 2019-05-17 23:55:06 +02:00
parent df573e5bdc
commit c343f1f2d1
No known key found for this signature in database
GPG Key ID: 4D8268DC68E8339D
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
{% import 'main/macros.tpl.html' as macro %}
{{ macro.input_csrf() }}
<div class="container">
<div class="row">
<div class="card text-white text-center col-md-2 pl-0 pr-0 mb-4 {% if status|lower == 'on' %}bg-success{% elseif status|lower == 'warning' %}bg-warning{% elseif status|lower == 'off' %}bg-danger{% endif %}">