{% extends "AdmingeneratorGeneratorBundle::base_admin_assetic_less.html.twig" %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %} {% block title %} {{ parent() }} - {% trans from "Admin" %}Modify selected complex model{% endtrans %} {% endblock %} {% block body %} {% block page_title %}

{% trans from "Admin" %}Modify selected complex model{% 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 %}
{% set doReadonly = form.vars.value.blDeactivated=="0" %}
{% if "cdComplexModel" in form|keys %}
{% block form_NONE_cdComplexModel %} {% if doReadonly is defined and doReadonly and "cdComplexModel" != "blStatus" and "cdComplexModel" != "blDeactivated" and form["cdComplexModel"] is defined %} {{ form_row(form['cdComplexModel'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['cdComplexModel']) }} {% endif %} {% endblock %}
{% endif %} {% if "lbComplexModel" in form|keys %}
{% block form_NONE_lbComplexModel %} {% if doReadonly is defined and doReadonly and "lbComplexModel" != "blStatus" and "lbComplexModel" != "blDeactivated" and form["lbComplexModel"] is defined %} {{ form_row(form['lbComplexModel'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['lbComplexModel']) }} {% endif %} {% endblock %}
{% endif %} {% if "urlImage" in form|keys %}
{% block form_NONE_urlImage %} {% if doReadonly is defined and doReadonly and "urlImage" != "blStatus" and "urlImage" != "blDeactivated" and form["urlImage"] is defined %} {{ form_row(form['urlImage'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['urlImage']) }} {% endif %} {% endblock %}
{% endif %}
{% if "oneOffCost" in form|keys %}
{% block form_NONE_oneOffCost %} {% if doReadonly is defined and doReadonly and "oneOffCost" != "blStatus" and "oneOffCost" != "blDeactivated" and form["oneOffCost"] is defined %} {{ form_row(form['oneOffCost'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['oneOffCost']) }} {% endif %} {% endblock %}
{% endif %} {% if "recOffCost" in form|keys %}
{% block form_NONE_recOffCost %} {% if doReadonly is defined and doReadonly and "recOffCost" != "blStatus" and "recOffCost" != "blDeactivated" and form["recOffCost"] is defined %} {{ form_row(form['recOffCost'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['recOffCost']) }} {% endif %} {% endblock %}
{% endif %} {% if "blDeactivated" in form|keys %}
{% block form_NONE_blDeactivated %} {% if doReadonly is defined and doReadonly and "blDeactivated" != "blStatus" and "blDeactivated" != "blDeactivated" and form["blDeactivated"] is defined %} {{ form_row(form['blDeactivated'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['blDeactivated']) }} {% 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 ComplexModel.getCollections() is defined and ComplexModel.idComplexModel %} {% for entobj in ComplexModel.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 %} {% endblock %} {% if isSelect is defined and isSelect==1 %} {% endif %}
{% endblock %}