1{#** 2 * Copyright since 2007 PrestaShop SA and Contributors 3 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA 4 * 5 * NOTICE OF LICENSE 6 * 7 * This source file is subject to the Open Software License (OSL 3.0) 8 * that is bundled with this package in the file LICENSE.md. 9 * It is also available through the world-wide-web at this URL: 10 * https://opensource.org/licenses/OSL-3.0 11 * If you did not receive a copy of the license and are unable to 12 * obtain it through the world-wide-web, please send an email 13 * to license@prestashop.com so we can send you a copy immediately. 14 * 15 * DISCLAIMER 16 * 17 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer 18 * versions in the future. If you wish to customize PrestaShop for your 19 * needs please refer to https://devdocs.prestashop.com/ for more information. 20 * 21 * @author PrestaShop SA and Contributors <contact@prestashop.com> 22 * @copyright Since 2007 PrestaShop SA and Contributors 23 * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) 24 *#} 25 26{% form_theme requiredFieldsForm 'PrestaShopBundle:Admin/TwigTemplateForm:prestashop_ui_kit.html.twig' %} 27 28<div class="collapse" id="addressRequiredFieldsContainer"> 29 {{ form_start(requiredFieldsForm, {'action': path('admin_addresses_save_required_fields')}) }} 30 <div class="card" > 31 <h3 class="card-header"> 32 {{ 'Required Fields'|trans({}, 'Admin.Orderscustomers.Feature') }} 33 </h3> 34 <div class="card-body"> 35 <div class="alert alert-info" role="alert"> 36 <div class="alert-text"> 37 <p> 38 {{ 'Required fields apply to the customer\'s registration form, you should check the address formats in [1]International > Locations > Countries[/1] before.'|trans( 39 { 40 '[1]': '<a href="' ~ getAdminLink('AdminCountries', true) ~ '">', 41 '[/1]': '</a>' 42 }, 43 'Admin.Orderscustomers.Help')|raw 44 }} 45 </p> 46 </div> 47 </div> 48 {{ form_widget(requiredFieldsForm.required_fields) }} 49 </div> 50 <div class="card-footer"> 51 <div class="d-flex justify-content-end"> 52 <button class="btn btn-primary">{{ 'Save'|trans({}, 'Admin.Actions') }}</button> 53 </div> 54 </div> 55 </div> 56 {{ form_end(requiredFieldsForm) }} 57</div> 58