mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-03 17:55:03 +02:00
Removed input-group-prepend / -append classes, as they are not needed anymore.
This commit is contained in:
parent
9ed487c629
commit
103969a283
6 changed files with 59 additions and 82 deletions
|
@ -40,14 +40,12 @@
|
|||
{% block si_unit_widget %}
|
||||
<div class="input-group {% if sm %}input-group-sm{% endif %}">
|
||||
{{ form_widget(form.value) }}
|
||||
<div class="input-group-append {% if sm %}input-group-sm{% endif %}">
|
||||
{% if form.prefix is defined %}
|
||||
{{ form_widget(form.prefix, {'attr': {'class': 'form-select'}}) }}
|
||||
{% endif %}
|
||||
{% if unit is not empty %}
|
||||
<label class="input-group-text">{{ unit }}</label>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{{ form_errors(form.value) }}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue