{{ form_start(form, {'attr':{'data-remote':'true', 'data-method':'POST', 'data-url':form.vars.action }}) }}
{{ form_row(form.interaction.date) }}
{{ form_row(form.interaction.direction) }}
{% if form.interaction.direction['value'] is defined %} {% endif %} {% if form.interaction.contactData is defined %}
{{ form_row(form.interaction.contactData) }}
{% endif %} {% if form.subject is defined%}
{{ form_row(form.subject) }}
{% endif %} {% if form.body is defined %}
{{ form_row(form.body) }}
{% endif %} {% if form.source is defined %}
{{ form_row(form.source) }}
{% endif %} {% if form.message is defined %}
{{ form_row(form.message) }}
{% endif %}
{% if form.btnCall is defined %}
{{ form_row(form.btnCall) }}
{% endif %} {{ form_widget(form) }} {% if type == "call" %}
Llamar
{% endif %} {{ form_end(form) }}