{% if form_action == 'provider_whatsApp_add' %} {{ form_start(form, {'attr': {'class': 'form-horizontal', 'action': path(form_action)}}) }} {% else %} {{ form_start(form, {'attr': {'class': 'form-horizontal'}}) }} {% endif %}
{{ form_widget(form.name, {'attr': {'class': 'form-control', 'placeholder':"{{'Form.SMS.Name' | trans}}"}}) }} {{ form_label(form.name, 'Form.SMS.Name' | trans) }}
{{ form_widget(form.limitation, {'attr': {'class': 'form-control', 'placeholder':"{{'Form.SMS.Limit' | trans}}"}}) }} {{ form_label(form.limitation, 'Form.SMS.Limit' | trans) }}
{% for t in form.active %} {{ form_widget(t, {'attr': {'class': ''}}) }} {{ form_label(t) }} {% endfor %}
{% for t in form.format %} {{ form_widget(t, {'attr': {'class': ''}}) }} {{ form_label(t) }} {% endfor %}
{{ form_widget(form.api, {'attr': {'class': 'form-control', 'placeholder':"{{'Form.SMS.API' | trans}}"}}) }} {{ form_label(form.api, 'Form.SMS.API' | trans) }}
{{ form_widget(form.instance, {'attr': {'class': 'form-control', 'placeholder':"{{'Form.WhatsApp.Instance' | trans}}"}}) }} {{ form_label(form.instance, 'Form.WhatsApp.Instance' | trans) }}
{{ form_widget(form.description, {'attr': {'class': 'form-control', 'row':'1', 'placeholder':"{{'Form.SMS.Description' | trans}}"}}) }} {{ form_label(form.description, 'Form.SMS.Description' | trans) }}
{{ form_rest(form) }} {{ form_end(form) }}