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

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