66 lines
2.2 KiB
Twig
66 lines
2.2 KiB
Twig
{#
|
|
/**
|
|
* Copyright since 2007 PrestaShop SA and Contributors
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This source file is subject to the Academic Free License 3.0 (AFL-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/AFL-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.
|
|
*
|
|
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
|
* @copyright Since 2007 PrestaShop SA and Contributors
|
|
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
|
#}
|
|
|
|
{% extends '@PrestaShop/Admin/layout.html.twig' %}
|
|
{% form_theme imageSliderForm '@Modules/is_imageslider/views/templates/admin/form/prestashop_ui_kit.html.twig' %}
|
|
|
|
{% block content %}
|
|
{{ form_start(imageSliderForm) }}
|
|
<div class="row justify-content-center">
|
|
<div class="col-xl-12">
|
|
<div class="card">
|
|
<h3 class="card-header">
|
|
<i class="material-icons">image</i> {{ title }}
|
|
</h3>
|
|
<div class="card-block">
|
|
<div class="card-body">
|
|
<div class="form-wrapper">
|
|
{{ form_widget(imageSliderForm) }}
|
|
{{ form_rest(imageSliderForm) }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card-footer">
|
|
<div class="row">
|
|
<div class="col-auto">
|
|
<a href="{{ path('is_imageslider_controller') }}" class="btn btn-outline-secondary">{{ 'Cancel'|trans({}, 'Admin.Actions') }}</a>
|
|
</div>
|
|
|
|
<div class="col-auto ml-auto">
|
|
<button class="btn btn-primary" id="form-is_imageslider-save-button">{{ 'Save'|trans({}, 'Admin.Actions') }}</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{ form_end(imageSliderForm) }}
|
|
{% endblock %}
|
|
|
|
{% block javascripts %}
|
|
{{ parent() }}
|
|
<script src="{{ asset('../modules/is_imageslider/views/js/createForm.js') }}"></script>
|
|
{% endblock %}
|
|
|
|
|
|
{% block stylesheets %}
|
|
{{ parent() }}
|
|
<link rel="stylesheet" href="{{ asset('../modules/is_imageslider/views/css/form.css') }}" />
|
|
{% endblock %}
|