mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-12 19:34:31 +02:00
Improved NumberConstraintType a bit.
This commit is contained in:
parent
f9d945c4c7
commit
f6239dfd50
3 changed files with 36 additions and 7 deletions
|
@ -1,7 +1,11 @@
|
|||
{% block number_constraint_widget %}
|
||||
<div class="input-group">
|
||||
{{ form_widget(form.operator) }}
|
||||
{{ form_widget(form.operator, {"attr": {"class": "form-select"}}) }}
|
||||
{{ form_widget(form.value1) }}
|
||||
<span class="input-group-text">AND</span>
|
||||
{{ form_widget(form.value2) }}
|
||||
{% if form.vars["text_suffix"] %}
|
||||
<span class="input-group-text">{{ form.vars["text_suffix"] }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue