mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-14 20:35:08 +02:00
Updated translations for import dialog.
This commit is contained in:
parent
453e7132c0
commit
be5d33c624
3 changed files with 145 additions and 23 deletions
|
@ -5,10 +5,6 @@
|
|||
{{- block('form_widget_simple') -}}
|
||||
{% endblock %}
|
||||
|
||||
{% block checkbox_widget %}
|
||||
{# {% set parent_label_class=(parent_label_class|default(label_attr.class|default(''))) ~ ' checkbox-custom' %} #}
|
||||
{{ parent() }}
|
||||
{% endblock %}
|
||||
|
||||
{% block form_label_class -%}
|
||||
col-3
|
||||
|
@ -16,22 +12,4 @@
|
|||
|
||||
{% block form_group_class -%}
|
||||
col-9
|
||||
{%- endblock form_group_class %}
|
||||
|
||||
{#
|
||||
{% block checkbox_widget -%}
|
||||
{%- set parent_label_class = parent_label_class|default(label_attr.class|default('')) -%}
|
||||
{%- if 'checkbox-custom' in parent_label_class -%}
|
||||
{%- set attr = attr|merge({class: (attr.class|default('') ~ ' custom-control-input')|trim}) -%}
|
||||
<div class="custom-control custom-checkbox{{ 'checkbox-inline' in parent_label_class ? ' custom-control-inline' }}">
|
||||
{{- form_label(form, null, { widget: parent() }) -}}
|
||||
</div>
|
||||
{%- else -%}
|
||||
{%- set attr = attr|merge({class: (attr.class|default('') ~ ' form-check-input')|trim}) -%}
|
||||
<div class="form-check abc-checkbox {{ 'checkbox-inline' in parent_label_class ? ' form-check-inline' }}">
|
||||
{{- form_label(form, null, { widget: parent() }) -}}
|
||||
</div>
|
||||
{%- endif -%}
|
||||
|
||||
{%- endblock checkbox_widget %}
|
||||
#}
|
||||
{%- endblock form_group_class %}
|
Loading…
Add table
Add a link
Reference in a new issue