diff --git a/templates/Form/extendedBootstrap4_layout.html.twig b/templates/Form/extendedBootstrap4_layout.html.twig index 5544033a..4581f1f2 100644 --- a/templates/Form/extendedBootstrap4_layout.html.twig +++ b/templates/Form/extendedBootstrap4_layout.html.twig @@ -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}) -%} -
- {{- form_label(form, null, { widget: parent() }) -}} -
- {%- else -%} - {%- set attr = attr|merge({class: (attr.class|default('') ~ ' form-check-input')|trim}) -%} -
- {{- form_label(form, null, { widget: parent() }) -}} -
- {%- endif -%} - -{%- endblock checkbox_widget %} -#} \ No newline at end of file +{%- endblock form_group_class %} \ No newline at end of file diff --git a/translations/messages.de.xlf b/translations/messages.de.xlf index 9b71fa93..b9698326 100644 --- a/translations/messages.de.xlf +++ b/translations/messages.de.xlf @@ -813,5 +813,77 @@ Subelemente werden beim Löschen nach oben verschoben. + + + JSON + JSON + + + + + import_export.label + Import / Export + + + + + XML + XML + + + + + CSV + CSV + + + + + YAML + YAML + + + + + import.csv_separator + CSV Trennzeichen + + + + + import.file + Datei + + + + + import.preserve_children + Importiere auch Unterelemente + + + + + import.abort_on_validation + Breche bei Invaliden Daten ab + + + + + import.abort_on_validation.help + Wenn diese Option aktiviert ist, wird der Import komplett abgebrochen, wenn ungültige Daten gefunden werden. Deaktiviere diese Option, damit zumindest die gültigen Elemente importiert werden. + + + + + import.btn + Importieren + + + + + export_all.label + Alles exportieren + + diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf index 3b18380b..2da68e7b 100644 --- a/translations/messages.en.xlf +++ b/translations/messages.en.xlf @@ -795,5 +795,77 @@ Subelements will be moved upwards.]]> New element + + + import_export.label + Import / Export + + + + + JSON + JSON + + + + + XML + XML + + + + + CSV + CSV + + + + + YAML + YAML + + + + + import.csv_separator + CSV separator + + + + + import.file + File + + + + + import.preserve_children + Preserve child elements on import + + + + + import.abort_on_validation + Abort on invalid data + + + + + import.abort_on_validation.help + When this option is enabled, the whole import process is aborted, when encountering invalid data. Disable to import at least the valid data. + + + + + export_all.label + Export all elements + + + + + import.btn + Import + +