{% block attributes_value_label %}{% endblock %} {% block attributes_value_widget %} {% set codeId = form.code.vars.id %}
{% if form.parent.parent.vars.value.tipo != "property_types" %}
{{ form_row(form.nombre, {attr: { class: "form-control" } }) }}
{% endif %} {% if form.parent.parent.vars.value.tipo == "parallax" %}
{{ form_row(form.code, {attr: { class: "form-control" } }) }}
{{ form_row(form.description, {attr: { class: "form-control" } }) }}
{{ form_row(form.link, {attr: { class: "form-control" } }) }}
{% elseif form.parent.parent.vars.value.tipo == "property_types"%} {#{% set imageId = form.tmpImage.vars.id %}#} {#
#} {#{{ form_row(form.image_file, { attr: {'class':'form-control'} }) }}#} {#
#}
{{ form_row(form.nombre, {attr: { class: "form-control" } }) }}
{{ form_row(form.caracteristica, {attr: { class: "form-control" } }) }}
{{ form_row(form.zonasInteres, {attr: { class: "form-control" } }) }}
{{ form_widget(form.activo, { attr: {'class':'minimal'} }) }}
{% else %} {% set imageId = form.tmpImage.vars.id %}
{{ form_widget(form.code, {attr: { class: "form-control", 'autocomplete': 'off' } }) }}
{{ form_errors(form.code) }}
{{ form_widget(form.tmpImage, {attr: { class: "form-control"} }) }}
{{ form_errors(form.tmpImage) }}
{{ form_row(form.tipo, {attr: { class: "form-control" } }) }}
{% endif %}
{% if form.parent.parent.vars.value.tipo != "parallax" and form.parent.parent.vars.value.tipo != "property_types" %} {% endif %} {% endblock %}