diff options
author | Daniel GarcĂa Moreno <danigm@soleta.eu> | 2021-06-17 14:13:16 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-06-17 16:42:50 +0200 |
commit | f121d591e5fb0b53f4e25099ca4f11afa005a1c9 (patch) | |
tree | 3d54d1ef1d6796fca8cfa2c4818ca41fbf3bf3e8 /ogcp/templates/macros.html | |
parent | f8e27fb149daea8b3151b91c175d051589f8f6ed (diff) |
Keep the selection in the sidebar for mode & setup
Diffstat (limited to 'ogcp/templates/macros.html')
-rw-r--r-- | ogcp/templates/macros.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ogcp/templates/macros.html b/ogcp/templates/macros.html index d9d2997..3bde877 100644 --- a/ogcp/templates/macros.html +++ b/ogcp/templates/macros.html @@ -5,6 +5,7 @@ <li class="list-group-item state--{{ scope['state'] | lower }}"> <input class="form-check-input" type="checkbox" form="scopesForm" value="{{ " ".join(scope["ip"]) }}" + {% if scope.get("selected", False) %}checked{% endif %} name="{{ scope["name"] }}_{{ scope["id"] }}"> {{ scope["name"] }} {% if "state" in scope %} |