BUGFIX: styles

This commit is contained in:
Jeroen De Meerleer 2021-08-02 19:05:41 +02:00
parent ce0d607663
commit 09024ab65d
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
1 changed files with 2 additions and 2 deletions

View File

@ -243,10 +243,10 @@
{% set key = 1 %}
{% for id,var in data.vars %}
<div class="input-group var-group">
<div class="input-group-text border-right-0">
<div class="input-group-text border-end-0">
<input type="checkbox" name="var-issecret[{{ key }}]" class="var-issecret" placeholder="value" value="true"{% if var.issecret %} checked{% endif %}>
</div>
<span class="input-group-text border-left-0">Secret</span>
<span class="input-group-text border-start-0">Secret</span>
<input type="text" name="var-id[{{ key }}]" class="form-control var-id" placeholder="name" value="{{ id }}">
<input type="{% if var.issecret %}password{% else %}text{% endif %}" name="var-value[{{ key }}]" class="form-control var-value" placeholder="value" value="{{ var.value }}">
</div>