{#
 # For the full copyright and license information, please view the
 # docs/licenses/LICENSE.txt file that was distributed with this source code.
 #}
{% set legacyBaseLayout = lightDisplay|default(false) ? 'light_display_layout.tpl' : 'layout.tpl' %}
{% extends '@PrestaShop/Admin/layout.html.twig' %}

{% block stylesheets %}
  {{ parent() }}
  <link rel="stylesheet" href="{{ asset('themes/new-theme/public/product.css') }}" type="text/css" media="all">
{% endblock %}

{% block content %}
  {{ form_start(productForm, {attr: {class: 'form-horizontal create-product-form justify-content-md-center product-form', novalidate: 'novalidate'}}) }}
    {% block product_creation_form %}
      {{ form_row(productForm) }}
    {% endblock %}

  {% block product_rest %}
    {{ form_end(productForm) }}
  {% endblock %}
{% endblock %}

{% block javascripts %}
  {{ parent() }}

  <script src="{{ asset('themes/new-theme/public/product_create.bundle.js') }}"></script>
{% endblock %}
