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

{% trans from "Admin" %}Modify pop : %Pop% {% 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 "cdPop" in form|keys %}
{% block form_NONE_cdPop %} {% if doReadonly is defined and doReadonly and "cdPop" != "blStatus" and "cdPop" != "blDeactivated" and form["cdPop"] is defined %} {{ form_row(form['cdPop'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['cdPop']) }} {% endif %} {% endblock %}
{% endif %} {% if "lbPop" in form|keys %}
{% block form_NONE_lbPop %} {% if doReadonly is defined and doReadonly and "lbPop" != "blStatus" and "lbPop" != "blDeactivated" and form["lbPop"] is defined %} {{ form_row(form['lbPop'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['lbPop']) }} {% endif %} {% endblock %}
{% endif %} {% if "idAccess" in form|keys %}
{% block form_NONE_idAccess %} {% if doReadonly is defined and doReadonly and "idAccess" != "blStatus" and "idAccess" != "blDeactivated" and form["idAccess"] is defined %} {{ form_row(form['idAccess'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['idAccess']) }} {% endif %} {% endblock %}
{% endif %}
{% if "idBranch" in form|keys %}
{% block form_NONE_idBranch %} {% if doReadonly is defined and doReadonly and "idBranch" != "blStatus" and "idBranch" != "blDeactivated" and form["idBranch"] is defined %} {{ form_row(form['idBranch'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['idBranch']) }} {% endif %} {% endblock %}
{% endif %} {% if "idPopType" in form|keys %}
{% block form_NONE_idPopType %} {% if doReadonly is defined and doReadonly and "idPopType" != "blStatus" and "idPopType" != "blDeactivated" and form["idPopType"] is defined %} {{ form_row(form['idPopType'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['idPopType']) }} {% endif %} {% endblock %}
{% endif %} {% if "idHousingProvider" in form|keys %}
{% block form_NONE_idHousingProvider %} {% if doReadonly is defined and doReadonly and "idHousingProvider" != "blStatus" and "idHousingProvider" != "blDeactivated" and form["idHousingProvider"] is defined %} {{ form_row(form['idHousingProvider'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['idHousingProvider']) }} {% 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 "idContact" in form|keys %}
{% block form_NONE_idContact %} {% if doReadonly is defined and doReadonly and "idContact" != "blStatus" and "idContact" != "blDeactivated" and form["idContact"] is defined %} {{ form_row(form['idContact'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['idContact']) }} {% endif %} {% endblock %}
{% endif %}
{% if "cmPop" in form|keys %}
{% block form_NONE_cmPop %} {% if doReadonly is defined and doReadonly and "cmPop" != "blStatus" and "cmPop" != "blDeactivated" and form["cmPop"] is defined %} {{ form_row(form['cmPop'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['cmPop']) }} {% 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 Pop.getCollections() is defined and Pop.idPop %} {% for entobj in Pop.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 securityContext.isGranted( 'hasRole("ROLE_SUPER_ADMINISTRATOR") or hasRole("ROLE_NETWORK_ENGINEER_ADMIN") or hasRole("ROLE_NETWORK_ENGINEER") or hasRole("ROLE_BACKBONE_LINK_ADMINISTRATOR")' , Pop) %} {% endif %} {% if securityContext.isGranted( 'hasRole("ROLE_SUPER_ADMINISTRATOR") or hasRole("ROLE_NETWORK_ENGINEER_ADMIN") or hasRole("ROLE_NETWORK_ENGINEER") or hasRole("ROLE_BACKBONE_LINK_ADMINISTRATOR")' , Pop) %} {% endif %} {% endblock %} {% if isSelect is defined and isSelect==1 %} {% endif %}
{% endblock %}