{{ form_label(form.name) }}
{{ form_widget(form.name) }}
{{ form_label(form.languageCode) }}
{{ form_widget(form.languageCode) }}
{{ form_label(form.description) }}
{{ form_widget(form.description) }}
{% set displayAddButton = "" %}
{% if form.vars.value is not null and form.vars.value.id is not empty %}
{% set labelExpand = "Expand all" %}
{% set classExpand = "" %}
{% else %}
{% set labelExpand = "Collapse all" %}
{% set classExpand = "expand" %}
{% endif %}
{{ 'Page Structure'|trans({},'pages')}} {{ 'Add Block'|trans({},'pages')}}
{{ labelExpand|trans({},'pages')}}
{% include 'admin\\stdpages\\pagestructure.html.twig' with {'form_name': 'std_pages_form', 'menuType': 'snippets'} %}
{#
#}
{% if usedLanguages is defined %}
{% endif %}
{% set now = "now"|date("Y-m-d h:i:s", "Europe/Lisbon") %}
{% set publishDate = "" %}
{% set expireDate = "" %}
{% if form.vars.value is null or 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 %}
{# Modal Attributes #}
{% include 'admin\\stdpages\\modalattributes.html.twig' %}
{# End Modal Attributes #}
{# Modal Publish/Expire Date #}
{% include 'admin\\stdpages\\modalpublishexpiredate.html.twig' %}
{# End Modal Publish/Expire Date #}
{# Modal Friendly Url #}
{% include 'admin\\stdpages\\modalfriendlyurl.html.twig' %}
{# End Modal Friendly Url #}
{# Modal Choose Friendly Url #}
{% include 'admin\\stdpages\\modalchoosefriendlyurl.html.twig' %}
{# End Modal Choose Friendly Url #}
{# Modal Upload Block Data #}
{% include 'admin\\stdpages\\modaluploadblockdata.html.twig' %}
{# End Modal Upload Block Data #}
{{ form_end(form) }}
-
English
-
Portuguese
-
French
{{'languages'|trans({},'studio')}}
{% for language in usedLanguages %}
{% endfor %}
{{ form_widget(form.isActive) }}
{{ createdDated }}
{{ updatedDated }}