-
Notifications
You must be signed in to change notification settings - Fork 62
/
content_edit.html.twig
35 lines (32 loc) · 1.31 KB
/
content_edit.html.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{% extends 'EzPlatformAdminUiBundle::layout.html.twig' %}
{% form_theme form with 'EzPlatformAdminUiBundle:content:form_fields.html.twig' %}
{% block content %}
<section class="ez-content-edit container pb-4">
<div id="react-udw"></div>
{{ form_start(form) }}
{% for field in form.fieldsData -%}
{% if field.vars.value is defined %}
{{- form_row(field.value) -}}
{% endif %}
{%- endfor %}
{{ form_end(form) }}
</section>
{% endblock %}
{% block javascripts %}
{% javascripts
'@EzPlatformAdminUiBundle/Resources/public/js/alloyeditor/dist/*.js'
'@EzPlatformAdminUiAssetsBundle/Resources/public/vendors/flatpickr/dist/flatpickr.js'
'@EzPlatformAdminUiBundle/Resources/public/js/scripts/fieldType/base/base-field.js'
'@EzPlatformAdminUiBundle/Resources/public/js/scripts/fieldType/*'
%}
<script type="text/javascript" src="{{ asset_url }}"></script>
{% endjavascripts %}
{% endblock %}
{% block stylesheets %}
{% stylesheets
'bundles/ezplatformadminui/css/alloyeditor/alloyeditor-ez.css'
'@EzPlatformAdminUiAssetsBundle/Resources/public/vendors/flatpickr/dist/flatpickr.min.css'
%}
<link rel="stylesheet" href="{{ asset_url }}" />
{% endstylesheets %}
{% endblock %}