fix submit var

This commit is contained in:
Tykayn 2025-06-23 22:41:45 +02:00 committed by tykayn
parent 5b1eca615b
commit adf9daa117
2 changed files with 3 additions and 2 deletions

View file

@ -2,7 +2,7 @@
<fieldset>
<div id="tags">
{% for k, v in commerce_overpass.tags_converted %}
<div class="row mb-3 {% if hide_filled_inputs and v is not empty %}d-none{% endif %}">
<div class="row mb-3 {% if hide_filled_inputs is defined and v is not empty %}d-none{% endif %}">
<div class="col-md-5">
{% if k not in excluded_tags_to_render %}
<div class="d-flex align-items-center">
@ -34,7 +34,7 @@
id="commerce_tag_value__{{ k }}"
name="commerce_tag_value__{{ k }}"
value="{{ v }}"
{% if hide_filled_inputs and v %}style="display: none;"{% endif %}>
{% if hide_filled_inputs is defined and v %}style="display: none;"{% endif %}>
</div>
{% endif %}
</div>