{#** * 2007-2019 PrestaShop and Contributors * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2019 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA *#} {% import '@PrestaShop/Admin/macros.html.twig' as ps %} {{ form_start(cmsPageForm) }}
{{ 'Page'|trans({}, 'Admin.Shopparameters.Feature') }}
{{ form_errors(cmsPageForm) }} {% set invalidCharsHint = 'Invalid characters:'|trans({}, 'Admin.Notifications.Info') ~ ' <>={}' %} {{ ps.form_group_row(cmsPageForm.page_category_id, {}, { 'label': 'Page category'|trans({}, 'Admin.Design.Feature'), }) }} {{ ps.form_group_row(cmsPageForm.title, {}, { 'label': 'Title'|trans({}, 'Admin.Global'), 'help': 'Used in the h1 page tag, and as the default title tag value.'|trans({}, 'Admin.Design.Help') ~ ' ' ~ invalidCharsHint }) }} {% block cms_tool_serp %}
{{ 'Here is a preview of how your page will appear in search engine results.'|trans({}, 'Admin.Global') }}
{% endblock %} {{ ps.form_group_row(cmsPageForm.meta_title, {}, { 'label': 'Meta title'|trans({}, 'Admin.Global'), 'help': 'Used to override the title tag value. If left blank, the default title value is used.'|trans({}, 'Admin.Design.Help') ~ ' ' ~ invalidCharsHint }) }} {{ ps.form_group_row(cmsPageForm.meta_description, {}, { 'label': 'Meta description'|trans({}, 'Admin.Global'), 'help': invalidCharsHint }) }} {{ ps.form_group_row(cmsPageForm.meta_keyword, {}, { 'label': 'Meta keywords'|trans({}, 'Admin.Global'), 'help': 'To add tags, click in the field, write something, and then press the "Enter" key.'|trans({}, 'Admin.Shopparameters.Help') ~ ' ' ~ invalidCharsHint }) }} {{ ps.form_group_row(cmsPageForm.friendly_url, {}, { 'label': 'Friendly URL'|trans({}, 'Admin.Global'), 'help': 'Only letters and the hyphen (-) character are allowed.'|trans({}, 'Admin.Design.Feature') }) }} {{ ps.form_group_row(cmsPageForm.content, {}, { 'label': 'Page content'|trans({}, 'Admin.Design.Feature'), }) }} {{ ps.form_group_row(cmsPageForm.is_indexed_for_search, {}, { 'label': 'Indexation by search engines'|trans({}, 'Admin.Design.Feature'), }) }} {{ ps.form_group_row(cmsPageForm.is_displayed, {}, { 'label': 'Displayed'|trans({}, 'Admin.Global'), }) }} {% if cmsPageForm.shop_association is defined %} {{ ps.form_group_row(cmsPageForm.shop_association, {}, { 'label': 'Shop association'|trans({}, 'Admin.Global') }) }} {% endif %} {% block cms_page_form_rest %} {{ form_rest(cmsPageForm) }} {% endblock %}
{{ form_end(cmsPageForm) }}