{# # ------------------------------------------------------------------------- # DataInjection plugin for GLPI # ------------------------------------------------------------------------- # # LICENSE # # This file is part of DataInjection. # # DataInjection is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # DataInjection is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with DataInjection. If not, see . # ------------------------------------------------------------------------- # @copyright Copyright (C) 2007-2023 by DataInjection plugin team. # @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html # @link https://github.com/pluginsGLPI/datainjection # ------------------------------------------------------------------------- #} {% import 'components/form/fields_macros.html.twig' as fields %} {% set field_options = { 'field_class': 'col-6 col-sm-6', 'label_class': 'col-6 col-sm-6', 'input_class': 'col-6 col-sm-6', } %}
{{ __('Specific file format options', 'datainjection') }}
{{ fields.dropdownYesNo('is_header_present', is_header_present, __("Header's presence", 'datainjection'), field_options) }} {{ fields.textField('delimiter', delimiter, __('File delimitor', 'datainjection'), field_options) }}