{% extends 'OroUIBundle:actions:update.html.twig' %} {% form_theme form with ['OroFormBundle:Form:fields.html.twig'] %} {% oro_title_set({params : {'%entityName%' : 'oro.sale.quote.entity_label'|trans, '%id%': entity.qid} }) %} {% set formAction = entity.id ? path('oro_sale_quote_update', { 'id': entity.id }) : path('oro_sale_quote_create') %} {% block pageHeader %} {% if entity.id %} {% set breadcrumbs = { 'entity': entity, 'indexPath': path('oro_sale_quote_index'), 'indexLabel': 'oro.sale.quote.entity_plural_label'|trans, 'entityTitle': entity.qid|default('N/A'|trans) } %} {{ parent() }} {% else %} {% set title = 'oro.ui.create_entity'|trans({'%entityName%': 'oro.sale.quote.entity_label'|trans}) %} {% include 'OroUIBundle::page_title_block.html.twig' with { title: title } %} {% endif %} {% endblock pageHeader %} {% block navButtons %} {{ parent() }} {{ UI.cancelButton(path('oro_sale_quote_index')) }} {% set html = UI.saveAndCloseButton() %} {% if entity.id or resource_granted('oro_sale_quote_create') %} {% set html = html ~ UI.saveAndStayButton() %} {% endif %} {{ UI.dropdownSaveButton({'html': html}) }} {% endblock navButtons %} {% block content_data %} {% set id = 'quote-edit' %} {% set ownerSelectors %}