{{'{% extends "'}}{{bundle}}{{'::layout.html.twig" %}'}} {{"{% block stylesheets %}"}} {{"{% endblock %}"}} {{"{% block content %}"}}

{{"{%if entity.id is defined and entity.id is not null%} {{'cabecalho.alterar."}}{{entity|lower}}{{"'|trans}} {%else%} {{'cabecalho.incluir."}}{{entity|lower}}{{"'|trans}} {%endif%}"}}

{{"{{ form_errors(form) }}"}}
{{"{{ form_widget(form._token) }}"}} {{" {% if not includeLayout %} {% endif %} "}} {% set focusClass = ' focus' %} {%- for field, metadata in fields %} {% if field != 'id' %}
{{"{{ form_label(form."~field~") }}"}}
{{"{{ form_widget(form."~field~",{ 'attr': {'class': 'input-xlarge"~focusClass~"'} }) }}"}} {% set focusClass = '' %} {{"{{ form_errors(form."~field~") }}"}}
{% endif %} {%- endfor %}
{{"{{'acao.cancelar'|trans}}"}}
{{"{% endblock %}"}}