src/templates/ProcesoReclutamiento/formulario_edit.html.twig line 1

Open in your IDE?
  1. {% extends "@crud\\crud\\formulario_edit.html.twig" %}
  2.        
  3. {#% block formulario_customs_jquery %}
  4.     $('.masculino').change(function(e){
  5.         var itemid = $(this).attr('itemid');
  6.         var registrados = $('#unidad_registradoMasculino_'+itemid).val()*1;
  7.         var cupo = $('#unidad_cupoMasculino_'+itemid).val()*1;
  8.         var adicionalCupo = $('#unidad_adicionalMasculino_'+itemid).val()*1;
  9.         var newCupo = cupo+((cupo*adicionalCupo)/100);
  10.         if (newCupo<registrados)
  11.         {
  12.             alert('El valor indicado ('+$(this).val()+') hace que el nuevo cupo total de la unidad ('+newCupo+') sea inferior a la cantidad de reclutas masculinos ya asignados ('+registrados+')');
  13.             $(this).val($(this).attr('oldvalue')); 
  14.         }
  15.     });
  16.     
  17.     $('.femenino').change(function(e){
  18.         var itemid = $(this).attr('itemid');
  19.         var registrados = $('#unidad_registradoFemenino_'+itemid).val()*1;
  20.         var cupo = $('#unidad_cupoFemenino_'+itemid).val()*1;
  21.         var adicionalCupo = $('#unidad_adicionalFemenino_'+itemid).val()*1;
  22.         var newCupo = cupo+((cupo*adicionalCupo)/100);
  23.         if (newCupo<registrados)
  24.         {
  25.             alert('El valor indicado ('+$(this).val()+') hace que el nuevo cupo total de la unidad ('+newCupo+') sea inferior a la cantidad de reclutas femeninos ya asignados ('+registrados+')');
  26.             $(this).val($(this).attr('oldvalue')); 
  27.         }
  28.     });
  29.     
  30.     $('#crud_form_preocesoreclutamiento').submit(function(e){
  31.         if ($('.save').not('.hide').length > 0)
  32.         {
  33.             e.preventDefault();
  34.             jAlert('Hay información sobre el test psicológico que no se ha guardado', 'Información');
  35.         }
  36.     });
  37.     
  38.     $('#table_test_psicologico').treetable({ expandable: true, indent: 10 });    
  39.     
  40.     $('.new_sistema').click(function(e){
  41.         e.preventDefault();
  42.         var s = $('#N-S-NUEVO-SISTEMA').prop("outerHTML");
  43.         s=s.replaceAll('NUEVO-SISTEMA', nuevoSistema);
  44.         $("#table_test_psicologico").treetable("loadBranch", null, s);
  45.         bindButtons('N-S-'+nuevoSistema);
  46.         nuevoSistema++;
  47.     });
  48.     
  49.     $( "#dlg_otrosProcesos" ).dialog({
  50.         autoOpen: false,
  51.         height: 610,
  52.         width: 950,
  53.         modal: true,
  54.         resizable: false,
  55.         title_html: true,
  56.         title: '<div id="texto" class="widget-header widget-header-small"><h4 class="smaller green"><i class="fas fa-recycle"></i>&nbsp;Preguntas de otros procesos</h4></div>',
  57.         buttons: {
  58.             Usar: function() {
  59.                 if ($('#test_otros').html().trim())
  60.                 {
  61.                     jConfirm('Si acepta usar estas preguntas perderá toda la información sobre las preguntas ya asociadas a este proceso.', 'Confirmar', function(r){
  62.                         if (r) {
  63.                             $( "#dlg_otrosProcesos" ).dialog( "close" );
  64.                             $('#crud_form_procesoreclutamiento').mask('&nbsp;&nbsp;&nbsp;&nbsp;Cargando...');
  65.                             
  66.                             var url = '{{ path('replicate_test_elements', {'procesoOrigen': '__PROCESO__', 'procesoDestino': entity.id }) }}';
  67.                             url=url.replace('__PROCESO__', $('#otros_procesos').val());
  68.                             $.getJSON(url , function(result){
  69.                                 if (result.ok)
  70.                                 {
  71.                                     var url = '{{ path('get_test_elements', {'proceso': entity.id, 'editable': 'YES'}) }}';
  72.                                     $('#testPreguntas').load(url, function(){
  73.                                         $('#crud_form_procesoreclutamiento').unmask();
  74.                                         /*$('#table_test_psicologico').find('tbody').find('tr').each(function(){
  75.                                             var id = $(this).attr('id');
  76.                                             id = 'N-'+id;
  77.                                             $(this).attr('id', id);
  78.                                         });*/
  79.                                         $('#table_test_psicologico').treetable({ expandable: true, indent: 10 });    
  80.                                     });
  81.                                 }
  82.                                 else
  83.                                 {
  84.                                     $('#crud_form_procesoreclutamiento').unmask();
  85.                                     jAlert(result.msg, 'Error');
  86.                                 }
  87.                             });
  88.                         }
  89.                     });
  90.                 }
  91.             },
  92.             Cancelar: function() {
  93.                 $( "#dlg_otrosProcesos" ).dialog( "close" );
  94.             }
  95.         }
  96.     });
  97.     
  98.     $('#usar_otras_preguntas').click(function(e){
  99.         e.preventDefault();
  100.         $( "#dlg_otrosProcesos" ).dialog('open');
  101.     });
  102.     
  103.     {% include 'ProcesoReclutamiento\\formulario_jquery.html.twig' %}
  104. {% endblock formulario_customs_jquery %}
  105. {% block formulario_customs_functions %}
  106.     {% include 'ProcesoReclutamiento\\formulario_jquery_functions.html.twig' %}
  107. {% endblock formulario_customs_functions %#}
  108. {#% block form_post_rows %}
  109.     <div class="row"> <hr> </div>
  110.     <div class="row">
  111.         <div class="col-xs-12">
  112.             <div id="tabs" class="tabs ui-tabs ui-widget ui-widget-content ui-corner-all">
  113.                 <ul id="tabs-container" class="nav nav-tabs tabs-pull-left ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
  114.                     <li class="active">
  115.                         <a href="#tab-centros" data-toggle="tab">{{ 'procesoreclutamiento.endFormTabs.centrosReclutaHabilitados' | trans({}, 'crud') }}</a>
  116.                     </li>
  117.                     <li>
  118.                         <a href="#tab-test-psicologico" data-toggle="tab">{{ 'procesoreclutamiento.endFormTabs.testPsicologico' | trans({}, 'crud') }}</a>
  119.                     </li>
  120.                 </ul>
  121.                 <div class="tab-content ui-tabs ui-tabs-panel" id="tabContainer">
  122.                     <div class="tab-pane active" id="tab-centros">
  123.                         <div class="row">
  124.                             <div class="col-xs-12">
  125.                                 {% include 'ProcesoReclutamiento\\basesCentrosUnidades.html.twig' %}
  126.                             </div>
  127.                         </div>
  128.                     </div>
  129.                     <div class="tab-pane" id="tab-test-psicologico">
  130.                         <a class="btnExpand" onclick="jQuery('#table_test_psicologico').treetable('expandAll'); return false;">
  131.                             <button class="btn btn-white btn-inverse btn-bold btn-round" title="{% trans %}botones.expandir{% endtrans %}">
  132.                                 <img src="{{ asset('images/icon/expandir.png') }}" width="16px"><span class="hidden-xs">&nbsp;{% trans %}botones.expandir{% endtrans %}</span>
  133.                             </button>
  134.                         </a>
  135.                         <a class="btnExpand" onclick="jQuery('#table_test_psicologico').treetable('collapseAll'); return false;">
  136.                             <button class="btn btn-white btn-inverse btn-bold btn-round" title="{% trans %}botones.recoger{% endtrans %}">
  137.                                 <img src="{{ asset('images/icon/recoger.png') }}" width="16px"><span class="hidden-xs">&nbsp;{% trans %}botones.recoger{% endtrans %}</span>
  138.                             </button>
  139.                         </a>
  140.                         <a class="new_sistema" href="">
  141.                             <button class="btn btn-white btn-inverse btn-bold btn-round" title="{% trans %}botones.recoger{% endtrans %}">
  142.                                 <i class="fas fa-plus green bigger-130" title="Nuevo sistema"></i>&nbsp;Nuevo Sistema
  143.                             </button>
  144.                         </a>
  145.                         {% if otrosProcesos | length > 0 %}
  146.                             <a id="usar_otras_preguntas" href="">
  147.                                 <button class="btn btn-white btn-inverse btn-bold btn-round" title="{% trans %}botones.recoger{% endtrans %}">
  148.                                     <i class="fas fa-recycle green bigger-130" title="Usar preguntas de otro proceso"></i>&nbsp;Usar preguntas de otro proceso
  149.                                 </button>
  150.                             </a>
  151.                         {% endif %}
  152.                         <div id="testPreguntas">
  153.                             {{ render(controller('App\\Controller\\ProcesoReclutamientoController::getTestElementsAction', {'proceso': entity.id, 'editable': 'YES' })) }}
  154.                         </div>
  155.                     </div>
  156.                     <div class="tab-pane" id="tab-personal-responsable">
  157.                         <div class="row">
  158.                             <div id="psicologo" class="col-xs-6  full-row">
  159.                                 <table class="table table-striped table-bordered table-hover">
  160.                                     <tr>
  161.                                         <th style="width: 20%">
  162.                                             <label id="label_form_psicologo" class=required >
  163.                                                 Psicólogo
  164.                                             </label>
  165.                                             <label onclick="javascript:creaNuevoRelacion('procesoreclutamiento','form_psicologo'); return false;" class="relacion" data-rel="tooltip" data-trigger="hover" data-placement="top" data-content="More details." title="Si no encuentra en la lista la información que necesita, pinche aquí para adicionarla" style="cursor: pointer" itemid="form_psicologo">
  166.                                                 <i class="icon fas fa-plus-square green" itemid="form_psicologo"></i>&nbsp;
  167.                                             </label>
  168.                                         </th>
  169.                                         <td style="vertical-align: middle">
  170.                                             {{ form_widget(form['psicologo']) }}
  171.                                         </td>
  172.                                     </tr>
  173.                                     <tr>
  174.                                         <th style="width: 20%">
  175.                                             <label id="label_form_psicologoIdentificacion" class=required >
  176.                                                 Identificacón
  177.                                             </label>
  178.                                         </th>
  179.                                         <td style="vertical-align: middle">
  180.                                             {{ form_widget(form['psicologoIdentificacion']) }}
  181.                                         </td>
  182.                                     </tr>
  183.                                     <tr class="">
  184.                                         <th style="width: 20%">
  185.                                             <label id="label_form_psicologoNombres" class=required >
  186.                                                 Nombre
  187.                                             </label>
  188.                                         </th>
  189.                                         <td style="vertical-align: middle">
  190.                                             {{ form_widget(form['psicologoNombres']) }}
  191.                                         </td>
  192.                                     </tr>
  193.                                     <tr>
  194.                                         <th style="width: 20%">
  195.                                             <label id="label_form_psicologoApellidos"  >
  196.                                                 Apellidos
  197.                                             </label>
  198.                                         </th>
  199.                                         <td style="vertical-align: middle">
  200.                                             {{ form_widget(form['psicologoApellidos']) }}
  201.                                         </td>
  202.                                     </tr>
  203.                                     <tr>
  204.                                         <th style="width: 20%">
  205.                                             <label id="label_form_psicologoCargo"  >
  206.                                                 Cargo
  207.                                             </label>
  208.                                         </th>
  209.                                         <td style="vertical-align: middle">
  210.                                             {{ form_widget(form['psicologoCargo']) }}
  211.                                         </td>
  212.                                     </tr>
  213.                                     <tr>
  214.                                         <th style="width: 20%">
  215.                                             <label id="label_form_psicologoGrado"  >
  216.                                                 Grado
  217.                                             </label>
  218.                                         </th>
  219.                                         <td style="vertical-align: middle">
  220.                                             {{ form_widget(form['psicologoGrado']) }}
  221.                                         </td>
  222.                                     </tr>
  223.                                 </table>
  224.                             </div>
  225.                             <div id="medico" class="col-xs-6  full-row">
  226.                                 <table class="table table-striped table-bordered table-hover">
  227.                                     <tr>
  228.                                         <th style="width: 20%">
  229.                                             <label id="label_form_medico" class=required >
  230.                                                 Médico,
  231.                                             </label>
  232.                                             <label onclick="javascript:creaNuevoRelacion('procesoreclutamiento','form_medico'); return false;" class="relacion" data-rel="tooltip" data-trigger="hover" data-placement="top" data-content="More details." title="Si no encuentra en la lista la información que necesita, pinche aquí para adicionarla" style="cursor: pointer" itemid="form_medico">
  233.                                                 <i class="icon fas fa-plus-square green" itemid="form_medico"></i>&nbsp;
  234.                                             </label>
  235.                                         </th>
  236.                                         <td style="vertical-align: middle">
  237.                                             {{ form_widget(form['medico']) }}
  238.                                         </td>
  239.                                     </tr>
  240.                                     <tr>
  241.                                         <th style="width: 20%">
  242.                                             <label id="label_form_medicoIdentificacion" class=required >
  243.                                                 Identificación
  244.                                             </label>
  245.                                         </th>
  246.                                         <td style="vertical-align: middle">
  247.                                             {{ form_widget(form['medicoIdentificacion']) }}
  248.                                         </td>
  249.                                     </tr>
  250.                                     <tr>
  251.                                         <th style="width: 20%">
  252.                                             <label id="label_form_medicoNombres" class=required >
  253.                                                 Nombre
  254.                                             </label>
  255.                                         </th>
  256.                                         <td style="vertical-align: middle">
  257.                                             {{ form_widget(form['medicoNombres']) }}
  258.                                         </td>
  259.                                     </tr>
  260.                                     <tr>
  261.                                         <th style="width: 20%">
  262.                                             <label id="label_form_medicoApellidos"  >
  263.                                                 Apellidos
  264.                                             </label>
  265.                                         </th>
  266.                                         <td style="vertical-align: middle">
  267.                                             {{ form_widget(form['medicoApellidos']) }}
  268.                                         </td>
  269.                                     </tr>
  270.                                     <tr>
  271.                                         <th style="width: 20%">
  272.                                             <label id="label_form_medicoCargo"  >
  273.                                                 Cargo
  274.                                             </label>
  275.                                         </th>
  276.                                         <td style="vertical-align: middle">
  277.                                             {{ form_widget(form['medicoCargo']) }}
  278.                                         </td>
  279.                                     </tr>
  280.                                     <tr>
  281.                                         <th style="width: 20%">
  282.                                             <label id="label_form_medicoGrado"  >
  283.                                                 Grado
  284.                                             </label>
  285.                                         </th>
  286.                                         <td style="vertical-align: middle">
  287.                                             {{ form_widget(form['medicoGrado']) }}
  288.                                         </td>
  289.                                     </tr>
  290.                                 </table>
  291.                             </div>
  292.                         </div>
  293.                         <div class="row">
  294.                             <div class="col-xs-12">
  295.                                 <div class="hr hr-8 hr-dotted"></div>
  296.                             </div>
  297.                         </div>
  298.                         <div class="row">
  299.                             <div id="odontologo" class="col-xs-6  full-row">
  300.                                 <table class="table table-striped table-bordered table-hover">
  301.                                     <tr>
  302.                                         <th style="width: 20%">
  303.                                             <label id="label_form_odontologo" class=required >
  304.                                                 Odontólogo
  305.                                             </label>
  306.                                             <label onclick="javascript:creaNuevoRelacion('procesoreclutamiento','form_odontologo'); return false;" class="relacion" data-rel="tooltip" data-trigger="hover" data-placement="top" data-content="More details." title="Si no encuentra en la lista la información que necesita, pinche aquí para adicionarla" style="cursor: pointer" itemid="form_odontologo">
  307.                                                 <i class="icon fas fa-plus-square green" itemid="form_odontologo"></i>&nbsp;
  308.                                             </label>
  309.                                         </th>
  310.                                         <td style="vertical-align: middle">
  311.                                             {{ form_widget(form['odontologo']) }}
  312.                                         </td>
  313.                                     </tr>
  314.                                     <tr>
  315.                                         <th style="width: 20%">
  316.                                             <label id="label_form_odontologoIdentificacion" class=required >
  317.                                                 Identificación
  318.                                             </label>
  319.                                         </th>
  320.                                         <td style="vertical-align: middle">
  321.                                             {{ form_widget(form['odontologoIdentificacion']) }}
  322.                                         </td>
  323.                                     </tr>
  324.                                     <tr>
  325.                                         <th style="width: 20%">
  326.                                             <label id="label_form_odontologoNombres" class=required >
  327.                                                 Nombre
  328.                                             </label>
  329.                                         </th>
  330.                                         <td style="vertical-align: middle">
  331.                                             {{ form_widget(form['odontologoNombres']) }}
  332.                                         </td>
  333.                                     </tr>
  334.                                     <tr>
  335.                                         <th style="width: 20%">
  336.                                             <label id="label_form_odontologoApellidos"  >
  337.                                                 Apellidos
  338.                                             </label>
  339.                                         </th>
  340.                                         <td style="vertical-align: middle">
  341.                                             {{ form_widget(form['odontologoApellidos']) }}
  342.                                         </td>
  343.                                     </tr>
  344.                                     <tr>
  345.                                         <th style="width: 20%">
  346.                                             <label id="label_form_odontologoCargo"  >
  347.                                                 Cargo
  348.                                             </label>
  349.                                         </th>
  350.                                         <td style="vertical-align: middle">
  351.                                             {{ form_widget(form['odontologoCargo']) }}
  352.                                         </td>
  353.                                     </tr>
  354.                                     <tr>
  355.                                         <th style="width: 20%">
  356.                                             <label id="label_form_odontologoGrado"  >
  357.                                                 Grado
  358.                                             </label>
  359.                                         </th>
  360.                                         <td style="vertical-align: middle">
  361.                                             {{ form_widget(form['odontologoGrado']) }}
  362.                                         </td>
  363.                                     </tr>
  364.                                 </table>
  365.                             </div>
  366.                             <div id="laboratorista" class="col-xs-6  full-row">
  367.                                 <table class="table table-striped table-bordered table-hover">
  368.                                     <tr>
  369.                                         <th style="width: 20%">
  370.                                             <label id="label_form_laboratorista" class=required >
  371.                                                 Laboratorista
  372.                                             </label>
  373.                                             <label onclick="javascript:creaNuevoRelacion('procesoreclutamiento','form_laboratorista'); return false;" class="relacion" data-rel="tooltip" data-trigger="hover" data-placement="top" data-content="More details." title="Si no encuentra en la lista la información que necesita, pinche aquí para adicionarla" style="cursor: pointer" itemid="form_laboratorista">
  374.                                                 <i class="icon fas fa-plus-square green" itemid="form_laboratorista"></i>&nbsp;
  375.                                             </label>
  376.                                         </th>
  377.                                         <td style="vertical-align: middle">
  378.                                             {{ form_widget(form['laboratorista']) }}
  379.                                         </td>
  380.                                     </tr>
  381.                                     <tr>
  382.                                         <th style="width: 20%">
  383.                                             <label id="label_form_laboratoristaIdentificacion" class=required >
  384.                                                 Identificación
  385.                                             </label>
  386.                                         </th>
  387.                                         <td style="vertical-align: middle">
  388.                                             {{ form_widget(form['laboratoristaIdentificacion']) }}
  389.                                         </td>
  390.                                     </tr>
  391.                                     <tr>
  392.                                         <th style="width: 20%">
  393.                                             <label id="label_form_laboratoristaNombres" class=required >
  394.                                                 Nombre
  395.                                             </label>
  396.                                         </th>
  397.                                         <td style="vertical-align: middle">
  398.                                             {{ form_widget(form['laboratoristaNombres']) }}
  399.                                         </td>
  400.                                     </tr>
  401.                                     <tr>
  402.                                         <th style="width: 20%">
  403.                                             <label id="label_form_laboratoristaApellidos"  >
  404.                                                 Apellidos
  405.                                             </label>
  406.                                         </th>
  407.                                         <td style="vertical-align: middle">
  408.                                             {{ form_widget(form['laboratoristaApellidos']) }}
  409.                                         </td>
  410.                                     </tr>
  411.                                     <tr>
  412.                                         <th style="width: 20%">
  413.                                             <label id="label_form_laboratoristaCargo"  >
  414.                                                 Cargo
  415.                                             </label>
  416.                                         </th>
  417.                                         <td style="vertical-align: middle">
  418.                                             {{ form_widget(form['laboratoristaCargo']) }}
  419.                                         </td>
  420.                                     </tr>
  421.                                     <tr>
  422.                                         <th style="width: 20%">
  423.                                             <label id="label_form_laboratoristaGrado"  >
  424.                                                 Grado
  425.                                             </label>
  426.                                         </th>
  427.                                         <td style="vertical-align: middle">
  428.                                             {{ form_widget(form['laboratoristaGrado']) }}
  429.                                         </td>
  430.                                     </tr>
  431.                                 </table>
  432.                             </div>
  433.                         </div>
  434.                     </div>
  435.                 </div>
  436.             </div>
  437.         </div>
  438.     </div>
  439. {% endblock form_post_rows %#}
  440. {#% block formulario_content %}
  441.     {{ parent() }}
  442.     <div class='hide'>
  443.         <form id="form_save" action="{{ path('save_test_element') }}" method="post">
  444.            <input id="form_save_id"               type="text" name="test[id]"> 
  445.            <input id="form_save_parent"           type="text" name="test[parentId]"> 
  446.            <input id="form_save_nombre"           type="text" name="test[nombre]"> 
  447.            <input id="form_save_riesgoBajoDesde"  type="text" name="test[riesgoBajoDesde]"> 
  448.            <input id="form_save_riesgoBajoHasta"  type="text" name="test[riesgoBajoHasta]"> 
  449.            <input id="form_save_riesgoMedioDesde" type="text" name="test[riesgoMedioDesde]"> 
  450.            <input id="form_save_riesgoMedioHasta" type="text" name="test[riesgoMedioHasta]"> 
  451.            <input id="form_save_riesgoAltoDesde"  type="text" name="test[riesgoAltoDesde]"> 
  452.            <input id="form_save_riesgoAltoHasta"  type="text" name="test[riesgoAltoHasta]"> 
  453.            <input id="form_save_tipo"             type="text" name="test[tipo]"> 
  454.            <input id="form_save_proceso"          type="text" name="test[proceso]" value="{{ entity.id }}"> 
  455.         </form>
  456.         <div id="delete_alert" class="alert alert-danger">
  457.             <button type="button" class="close" data-dismiss="alert">
  458.                 <i class="fas fa-times"></i>
  459.             </button>
  460.             <strong>
  461.                 <i class="fas fa-info-circle bigger-150"></i>
  462.                 No fue posible eliminar este elemento   
  463.             </strong>
  464.             <br>
  465.         </div>
  466.         <div id="save_alert" class="alert alert-danger">
  467.             <button type="button" class="close" data-dismiss="alert">
  468.                 <i class="fas fa-times"></i>
  469.             </button>
  470.             <strong>
  471.                 <i class="fas fa-info-circle bigger-150"></i>
  472.                 No fue posible guardar este elemento   
  473.             </strong>
  474.             <br>
  475.         </div>
  476.         <table id="table_reference">
  477.             <tr id="N-S-NUEVO-SISTEMA" parentId="" data-tt-id="N-S-NUEVO-SISTEMA" data-tt-parent-id="">
  478.                 <td>
  479.                     SISTEMA
  480.                 </td>
  481.                 <td>
  482.                     <input field="nombre" type="text" class="editable" name="test[sistemas][N-S-NUEVO-SISTEMA][nombre]"old_value="" style="width: 100%;">    
  483.                 </td>
  484.                 <td colspan="4"></td>
  485.                 <td>
  486.                     <div class="pull-left action-buttons">
  487.                         <nobr>
  488.                             <a class="save save_sistema hide" href="">
  489.                                 <i class="fas fa-save blue bigger-150" title="Guardar"></i>
  490.                             </a>
  491.                             <a class="cancel hide" href="">
  492.                                 <i class="fas fa-ban red bigger-150" title="Cancelar"></i>
  493.                             </a>
  494.                             <a class="new_eje" href="">
  495.                                 <i class="fas fa-plus green bigger-150" title="Nuevo eje"></i>
  496.                             </a>
  497.                             <a class="delete delete_sistema" href="">
  498.                                 <i class="fas fa-trash red bigger-150" title="Eliminar"></i>
  499.                             </a>
  500.                         </nobr>
  501.                     </div>
  502.                 </td>
  503.             </tr>
  504.             <tr id="N-E-NUEVO-EJE" parentId="PARENT-ID" data-tt-id="N-E-NUEVO-EJE" data-tt-parent-id="PARENT-ID">
  505.                 <td>
  506.                     EJE
  507.                 </td>
  508.                 <td>
  509.                     <input field="nombre" type="text" name="test[ejes][PARENT-ID][N-E-NUEVO-EJE][nombre]" class="editable" old_value="" style="width: 100%;">    
  510.                 </td>
  511.                 <td colspan="4"></td>
  512.                 <td>
  513.                     <div class="pull-left action-buttons">
  514.                         <nobr>
  515.                             <a class="save save_eje hide" href="">
  516.                                 <i class="fas fa-save blue bigger-150" title="Guardar"></i>
  517.                             </a>
  518.                             <a class="cancel hide" href="">
  519.                                 <i class="fas fa-ban red bigger-150" title="Cancelar"></i>
  520.                             </a>
  521.                             <a class="new_criterio" href="">
  522.                                 <i class="fas fa-plus green bigger-150" title="Nuevo criterio"></i>
  523.                             </a>
  524.                             <a class="delete delete_eje" href="">
  525.                                 <i class="fas fa-trash red bigger-150" title="Eliminar"></i>
  526.                             </a>
  527.                         </nobr>
  528.                     </div>
  529.                 </td>
  530.             </tr>
  531.             <tr id="N-C-NUEVO-CRITERIO" parentId="PARENT-ID" data-tt-id="N-C-NUEVO-CRITERIO" data-tt-parent-id="PARENT-ID">
  532.                 <td>
  533.                     CRITERIO
  534.                 </td>
  535.                 <td>
  536.                     <input field="nombre" type="text" name="test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][nombre]" class="editable" old_value="" style="width: 100%;">    
  537.                 </td>
  538.                 <td>
  539.                     <input field="riesgoBajoDesde" type="text" name="test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][bajoDesde]" class="editable" style="width: 50px;" old_value="">&nbsp;a&nbsp;<input field="riesgoBajoHasta" type="text" name="test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][bajoDesde]" class="editable" style="width: 50px;" old_value="">
  540.                 </td>
  541.                 <td>
  542.                     <input field="riesgoMedioDesde" type="text" name="test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][medioDesde]" class="editable" style="width: 50px;" old_value="">&nbsp;a&nbsp;<input field="riesgoMedioHasta" type="text" name="test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][medioDesde]" class="editable" style="width: 50px;" old_value="">
  543.                 </td>
  544.                 <td>
  545.                     <input field="riesgoAltoDesde" type="text" name="test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][altoDesde]" class="editable" style="width: 50px;" old_value="">&nbsp;a&nbsp;<input field="riesgoAltoHasta" type="text" name="test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][altoDesde]" class="editable" style="width: 50px;" old_value="">
  546.                 </td>
  547.                 <td></td>
  548.                 <td>
  549.                     <div class="pull-left action-buttons">
  550.                         <nobr>
  551.                             <a class="save save_criterio hide" href="">
  552.                                 <i class="fas fa-save blue bigger-150" title="Guardar"></i>
  553.                             </a>
  554.                             <a class="cancel hide" href="">
  555.                                 <i class="fas fa-ban red bigger-150" title="Cancelar"></i>
  556.                             </a>
  557.                             <a class="new_pregunta" href="">
  558.                                 <i class="fas fa-plus green bigger-150" title="Nueva pregunta"></i>
  559.                             </a>
  560.                             <a class="delete delete_criterio" href="">
  561.                                 <i class="fas fa-trash red bigger-150" title="Eliminar"></i>
  562.                             </a>
  563.                         </nobr>
  564.                     </div>
  565.                 </td>
  566.             </tr>
  567.             <tr id="N-P-NUEVA-PREGUNTA" parentId="PARENT-ID" data-tt-id="N-P-NUEVA-PREGUNTA" data-tt-parent-id="PARENT-ID">
  568.                 <td>
  569.                     PREGUNTA
  570.                 </td>
  571.                 <td>
  572.                     <input field="nombre" type="text" name="test[preguntas][PARENT-ID][N-P-NUEVA-PREGUNTA][nombre]" class="editable" old_value="" style="width: 100%;">    
  573.                 </td>
  574.                 <td colspan="3"></td>
  575.                 <td>
  576.                     <select field="tipo" name="test[preguntas][PARENT-ID][N-P-NUEVA-PREGUNTA][tipo]" class="editable" old_value="directo" style="width: 100%">
  577.                         <option value="directo">Directa</option>
  578.                         <option value="inverso">Inversa</option>
  579.                     </select>
  580.                 </td>
  581.                 <td>
  582.                     <div class="pull-left action-buttons">
  583.                         <nobr>
  584.                             <a class="save save_pregunta hide" href="">
  585.                                 <i class="fas fa-save blue bigger-150" title="Guardar"></i>
  586.                             </a>
  587.                             <a class="cancel hide" href="">
  588.                                 <i class="fas fa-ban red bigger-150" title="Cancelar"></i>
  589.                             </a>
  590.                             <a class="delete delete_pregunta" href="">
  591.                                 <i class="fas fa-trash red bigger-150" title="Eliminar"></i>
  592.                             </a>
  593.                         </nobr>
  594.                     </div>
  595.                 </td>
  596.             </tr>
  597.         </table>
  598.     </div>
  599.     <div id="dlg_otrosProcesos">
  600.         {% include 'ProcesoReclutamiento\\testPreguntasShow.html.twig' %}
  601.     </div>
  602. {% endblock formulario_content %#}