{% extends 'CoreOmegaBundle:Layout:base.html.twig' %} {% block content %}

{% if parcel.id is not empty %} {{ 'header.adminParcelEdit' |trans({'%trackId%': parcel.trackId})|raw }} {% else %} {{ 'header.adminParcelCreate' |trans()|raw }} {% endif %}

{{ form_start(form) }} {{ form_errors(form) }}
{{ form_label(form.connection, null, {'label_attr' : {'class': 'label-common'}}) }} {{ form_errors(form.connection) }} {{ form_widget(form.connection, {'attr': {'class': 'input-field', 'style': 'width: 320px;'}}) }}
{{ form_label(form.orderId, null, {'label_attr' : {'class': 'label-common'}}) }} {{ form_errors(form.orderId) }} {{ form_widget(form.orderId, {'attr': {'class': 'input-field', 'style': 'width: 320px;'}}) }}
{{ form_label(form.trackId, null, {'label_attr' : {'class': 'label-common'}}) }} {{ form_errors(form.trackId) }} {{ form_widget(form.trackId, {'attr': {'class': 'input-field', 'style': 'width: 320px;'}}) }}
{{ form_label(form.isClosed, null, {'label_attr' : {'class': 'label-common'}}) }} {{ form_errors(form.isClosed) }} {{ form_widget(form.isClosed) }}
{% block form_appendix %} {% endblock %}
{{ form_end(form) }}
{% endblock%}