{% import '@OroUI/macros.html.twig' as UI %} {% import '@OroEntityConfig/macros.html.twig' as entityConfig %}
{{ UI.renderProperty('oro.consent.names.label'|trans, consent.name) }} {{ UI.renderProperty('oro.consent.type.label'|trans, consent.mandatory ? 'oro.consent.type.mandatory'|trans : 'oro.consent.type.optional'|trans) }} {{ UI.renderProperty('oro.consent.declined_notification.label'|trans, consent.declinedNotification ? 'oro.consent.declined_notification.yes.label'|trans : 'oro.consent.declined_notification.no.label'|trans) }} {{ UI.renderProperty('oro.consent.content_node.label'|trans, consent.contentNode) }}
{{ entityConfig.renderDynamicFields(consent) }}