{% extends 'admin\\baseadmin.html.twig' %} {% trans_default_domain 'templates' %} {% block stylesheets %} {{parent()}} {# Font Awesome #} {# Artgris FileManager #} {# Import fengyuanchen/cropper #} {# Then the default bundle's CSS #} {% endblock %} {% block aside %} {% include 'admin\\stdpages\\aside.html.twig' %} {% endblock %} {% block header %}
{{ form_start(form,{"attr":{"autocomplete":"off","accept-charset":"UTF-8","id":form.vars.id}}) }}
{#
#}
{% endblock %} {% block content%}
{{ form_label(form.name) }} {{ form_widget(form.name) }}
{{ form_label(form.content_type, "Content Type") }} {{ form_widget(form.content_type) }}
{{ form_label(form.layout) }} {{ form_widget(form.layout) }}
{% if (form.vars.value.id) %} {% set labelExpand = "Expand all" %} {% set classExpand = "" %} {% else %} {% set labelExpand = "Collapse all" %} {% set classExpand = "expand" %} {% endif %}
{% trans %}Template Structure{% endtrans %}
{% include 'admin\\stdpages\\pagestructure.html.twig' %}
{% trans %}Status{% endtrans %}
{% if form.vars.value.isActive == true %} {% set checked = "checked" %} {% else %} {% set checked = "" %} {% endif %}
{% if form.vars.value.createdBy is null %} {% set createdBy = app.user.name %} {% set createdDated = "now"|date("d/m/Y h:i A") %} {% set updatedBy = "" %} {% set updatedDated = "" %} {% else %} {% set createdBy = form.vars.value.createdBy.name %} {% set createdDated = form.vars.value.createdDate|date("d/m/Y h:i A") %} {% set updatedBy = form.vars.value.updatedBy.name %} {% set updatedDated = form.vars.value.updatedDate|date("d/m/Y h:i A") %} {% endif %}
{{ createdDated }}
{{ updatedDated }}
{{ form_rest(form) }}
{{ form_end(form) }}
{# Modal Upload Block Data #} {% include 'admin\\stdpages\\modaluploadblockdata.html.twig' %} {# End Modal Upload Block Data #} {# Modal Attributes #} {% include 'admin\\stdpages\\modalattributes.html.twig' %} {# End Modal Attributes #} {% endblock %} {% block javascripts %} {{parent()}} {# Jqueri UI #} {# jquery.collection.js #} {# Import fengyuanchen/cropper #} {# #} {# Then the default bundle's JavaScript: #} {% include '@ArtgrisMedia/assets/include_js.html.twig' %} {% endblock %}