Added an filter constraint based on part tags.

This commit is contained in:
Jan Böhmer 2022-08-21 23:01:10 +02:00
parent 4d3ff7d7b5
commit 4ba58cc621
7 changed files with 234 additions and 4 deletions

View file

@ -18,7 +18,7 @@
<div class="input-group">
{{ form_widget(form.operator, {"attr": {"class": "form-select"}}) }}
{{ form_widget(form.value) }}
{% if form.vars["text_suffix"] %}
{% if form.vars["text_suffix"] is defined and form.vars["text_suffix"] %}
<span class="input-group-text">{{ form.vars["text_suffix"] }}</span>
{% endif %}
</div>
@ -30,4 +30,8 @@
{% block date_time_constraint_widget %}
{{ block('number_constraint_widget') }}
{% endblock %}
{% block tags_constraint_widget %}
{{ block('text_constraint_widget') }}
{% endblock %}