{% extends "AdmingeneratorGeneratorBundle::base_admin_assetic_less.html.twig" %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %} {% block title %} {{ parent() }} - {% trans from "Admin" %}New product characteristic (0: On commercial info, 1: on Extremity, 2: on Technical){% endtrans %} {% endblock %} {% block body %} {% block page_title %}

{% trans from "Admin" %}New product characteristic (0: On commercial info, 1: on Extremity, 2: on Technical){% endtrans %}

{% endblock %}
{% set addselect= (isSelect is defined)?"isSelect="~isSelect:"" %} {% set addmotherid= (motherid is defined)?"&motherid="~motherid:"" %} {% set addmotherentity= (motherentity is defined)?"&motherentity="~motherentity:"" %}
{{ block('actionsmenu') }} {% block form_fieldset_NONE %}
{% if "lbCarac" in form|keys %}
{% block form_NONE_lbCarac %} {% if doReadonly is defined and doReadonly and "lbCarac" != "blStatus" and "lbCarac" != "blDeactivated" and form["lbCarac"] is defined %} {{ form_row(form['lbCarac'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['lbCarac']) }} {% endif %} {% endblock %}
{% endif %}
{% if "value1" in form|keys %}
{% block form_NONE_value1 %} {% if doReadonly is defined and doReadonly and "value1" != "blStatus" and "value1" != "blDeactivated" and form["value1"] is defined %} {{ form_row(form['value1'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['value1']) }} {% endif %} {% endblock %}
{% endif %}
{% if "value2" in form|keys %}
{% block form_NONE_value2 %} {% if doReadonly is defined and doReadonly and "value2" != "blStatus" and "value2" != "blDeactivated" and form["value2"] is defined %} {{ form_row(form['value2'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['value2']) }} {% endif %} {% endblock %}
{% endif %}
{% if "blMandatory" in form|keys %}
{% block form_NONE_blMandatory %} {% if doReadonly is defined and doReadonly and "blMandatory" != "blStatus" and "blMandatory" != "blDeactivated" and form["blMandatory"] is defined %} {{ form_row(form['blMandatory'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['blMandatory']) }} {% endif %} {% endblock %}
{% endif %}
{% if "position" in form|keys %}
{% block form_NONE_position %} {% if doReadonly is defined and doReadonly and "position" != "blStatus" and "position" != "blDeactivated" and form["position"] is defined %} {{ form_row(form['position'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['position']) }} {% endif %} {% endblock %}
{% endif %}
{% if "lbField" in form|keys %}
{% block form_NONE_lbField %} {% if doReadonly is defined and doReadonly and "lbField" != "blStatus" and "lbField" != "blDeactivated" and form["lbField"] is defined %} {{ form_row(form['lbField'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['lbField']) }} {% endif %} {% endblock %}
{% endif %}
{% if "nbLocation" in form|keys %}
{% block form_NONE_nbLocation %} {% if doReadonly is defined and doReadonly and "nbLocation" != "blStatus" and "nbLocation" != "blDeactivated" and form["nbLocation"] is defined %} {{ form_row(form['nbLocation'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['nbLocation']) }} {% endif %} {% endblock %}
{% endif %}
{% if "lbWidgetType" in form|keys %}
{% block form_NONE_lbWidgetType %} {% if doReadonly is defined and doReadonly and "lbWidgetType" != "blStatus" and "lbWidgetType" != "blDeactivated" and form["lbWidgetType"] is defined %} {{ form_row(form['lbWidgetType'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['lbWidgetType']) }} {% endif %} {% endblock %}
{% endif %}
{% if form['dtDeactivated'] is defined %}
{% block form_NONE_dtDeactivated %} {{ form_row(form['dtDeactivated']) }} {% endblock %}
{% endif %} {% if form['dtCreate'] is defined %}
{% block form_NONE_dtCreate %} {{ form_row(form['dtCreate']) }} {% endblock %}
{% endif %} {% if form['dtUpdate'] is defined %}
{% block form_NONE_dtUpdate %} {{ form_row(form['dtUpdate']) }} {% endblock %}
{% endif %} {% if form['idUserCreateBy'] is defined %}
{% block form_NONE_idUserCreateBy %} {{ form_row(form['idUserCreateBy']) }} {% endblock %}
{% endif %} {% if form['idUserUpdateBy'] is defined %}
{% block form_NONE_idUserUpdateBy %} {{ form_row(form['idUserUpdateBy']) }} {% endblock %}
{% endif %}
{% endblock %} {% block form_tabs %} {% endblock %} {% block form %} {% if isSelect is defined and isSelect==1 and motherid is defined and motherid!=0 %} {% endif %} {% if isSelect is defined and isSelect==1 %} {% endif %} {{ form_errors(form) }} {{ form_rest(form) }} {% block form_buttons %} {% endblock %} {% endblock %} {% if ProductCaracs.getCollections() is defined and ProductCaracs.idProductCaracs %} {% for entobj in ProductCaracs.getCollections() %} {% if entobj.idname is defined %} {% set entitie=entobj.idval %} {% else %} {% set entitie=entobj %} {% endif %} {% set headcol="" %} {% endfor %} {% endif %}
{% endblock %} {% block actionsmenu %}
{% block form_actions %} {% if isSelect is not defined or isSelect!=1 %} {% endif %} {% endblock %} {% if isSelect is defined and isSelect==1 %} {% endif %}
{% endblock %}