<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* ProcesoReclutamiento\show.html.twig */
class __TwigTemplate_e612168893cf76d6d5080bedefa6bde4 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'jquery' => [$this, 'block_jquery'],
'show_details' => [$this, 'block_show_details'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@crud\\crud\\show.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProcesoReclutamiento\\show.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProcesoReclutamiento\\show.html.twig"));
$this->parent = $this->loadTemplate("@crud\\crud\\show.html.twig", "ProcesoReclutamiento\\show.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 4
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
<link type=\"text/css\" rel=\"stylesheet\" href=\"";
// line 5
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ace/css/jquery.treetable.css"), "html", null, true);
echo "\">
<link type=\"text/css\" rel=\"stylesheet\" href=\"";
// line 6
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ace/css/jquery.treetable.theme.default.css"), "html", null, true);
echo "\">
<!--link type=\"text/css\" rel=\"stylesheet\" href=\"";
// line 7
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("style/jquery-ui.css"), "html", null, true);
echo "\"-->
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 10
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 11
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script src=\"";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ace/js/jquery.treetable.js"), "html", null, true);
echo "\" type=\"text/javascript\"></script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 15
public function block_jquery($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "jquery"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "jquery"));
// line 16
echo " ";
$this->displayParentBlock("jquery", $context, $blocks);
echo "
<script type=\"text/javascript\">
\$(function()
{
\$('.masculino').change(function(e){
var itemid = \$(this).attr('itemid');
var registrados = \$('#unidad_registradoMasculino_'+itemid).val()*1;
var cupo = \$('#unidad_cupoMasculino_'+itemid).val()*1;
var adicionalCupo = \$('#unidad_adicionalMasculino_'+itemid).val()*1;
var newCupo = cupo+((cupo*adicionalCupo)/100);
if (newCupo<registrados)
{
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+')');
\$(this).val(\$(this).attr('oldvalue'));
}
});
\$('.femenino').change(function(e){
var itemid = \$(this).attr('itemid');
var registrados = \$('#unidad_registradoFemenino_'+itemid).val()*1;
var cupo = \$('#unidad_cupoFemenino_'+itemid).val()*1;
var adicionalCupo = \$('#unidad_adicionalFemenino_'+itemid).val()*1;
var newCupo = cupo+((cupo*adicionalCupo)/100);
if (newCupo<registrados)
{
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+')');
\$(this).val(\$(this).attr('oldvalue'));
}
});
\$('#crud_form_preocesoreclutamiento').submit(function(e){
if (\$('.save').not('.hide').length > 0)
{
e.preventDefault();
jAlert('Hay información sobre el test psicológico que no se ha guardado', 'Información');
}
});
\$('#table_test_psicologico').treetable({ expandable: true, indent: 10 });
\$('.new_sistema').click(function(e){
e.preventDefault();
var s = \$('#N-S-NUEVO-SISTEMA').prop(\"outerHTML\");
s=s.replaceAll('NUEVO-SISTEMA', nuevoSistema);
\$(\"#table_test_psicologico\").treetable(\"loadBranch\", null, s);
bindButtons('N-S-'+nuevoSistema);
nuevoSistema++;
});
\$( \"#dlg_otrosProcesos\" ).dialog({
autoOpen: false,
height: 610,
width: 950,
modal: true,
resizable: false,
title_html: true,
title: '<div id=\"texto\" class=\"widget-header widget-header-small\"><h4 class=\"smaller green\"><i class=\"fas fa-recycle\"></i> Preguntas de otros procesos</h4></div>',
buttons: {
Usar: function() {
if (\$('#test_otros').html().trim())
{
jConfirm('Si acepta usar estas preguntas perderá toda la información sobre las preguntas ya asociadas a este proceso.', 'Confirmar', function(r){
if (r) {
\$( \"#dlg_otrosProcesos\" ).dialog( \"close\" );
\$('#crud_form_procesoreclutamiento').mask(' Cargando...');
var url = '";
// line 87
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("replicate_test_elements", ["procesoOrigen" => "__PROCESO__", "procesoDestino" => twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 87, $this->source); })()), "id", [], "any", false, false, false, 87)]), "html", null, true);
echo "';
url=url.replace('__PROCESO__', \$('#otros_procesos').val());
\$.getJSON(url , function(result){
if (result.ok)
{
var url = '";
// line 92
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("get_test_elements", ["proceso" => twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 92, $this->source); })()), "id", [], "any", false, false, false, 92), "editable" => "YES"]), "html", null, true);
echo "';
\$('#testPreguntas').load(url, function(){
\$('#crud_form_procesoreclutamiento').unmask();
/*\$('#table_test_psicologico').find('tbody').find('tr').each(function(){
var id = \$(this).attr('id');
id = 'N-'+id;
\$(this).attr('id', id);
});*/
\$('#table_test_psicologico').treetable({ expandable: true, indent: 10 });
});
}
else
{
\$('#crud_form_procesoreclutamiento').unmask();
jAlert(result.msg, 'Error');
}
});
}
});
}
},
Cancelar: function() {
\$( \"#dlg_otrosProcesos\" ).dialog( \"close\" );
}
}
});
\$('#usar_otras_preguntas').click(function(e){
e.preventDefault();
\$( \"#dlg_otrosProcesos\" ).dialog('open');
});
";
// line 124
$this->loadTemplate("ProcesoReclutamiento\\formulario_jquery.html.twig", "ProcesoReclutamiento\\show.html.twig", 124)->display($context);
// line 125
echo "
});
\t\t
";
// line 128
$this->loadTemplate("ProcesoReclutamiento\\formulario_jquery_functions.html.twig", "ProcesoReclutamiento\\show.html.twig", 128)->display($context);
// line 129
echo "
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 135
public function block_show_details($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "show_details"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "show_details"));
// line 136
echo " ";
$this->displayParentBlock("show_details", $context, $blocks);
echo "
<div class=\"row\">
<div class=\"col-xs-12\">
<div id=\"tabs\" class=\"tabs ui-tabs ui-widget ui-widget-content ui-corner-all\">
";
// line 143
echo " <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\">
<li class=\"active\">
<a href=\"#tab-centros\" data-toggle=\"tab\">";
// line 145
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("procesoreclutamiento.endFormTabs.centrosReclutaHabilitados", [], "crud"), "html", null, true);
echo "</a>
</li>
<li>
<a href=\"#tab-test-psicologico\" data-toggle=\"tab\">";
// line 148
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("procesoreclutamiento.endFormTabs.testPsicologico", [], "crud"), "html", null, true);
echo "</a>
</li>
</ul>
";
// line 152
echo "
";
// line 154
echo " <div class=\"tab-content ui-tabs ui-tabs-panel\" id=\"tabContainer\">
";
// line 156
echo " <div class=\"tab-pane active\" id=\"tab-centros\">
<div class=\"row\">
<div class=\"col-xs-12\">
<form id=\"estructura_centros\" action=\"";
// line 159
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("save_estructura_centros");
echo "\" method=\"post\">
<input type=\"submit\" class=\"btn btn-white btn-inverse btn-bold btn-round\" value=\"Guardar\">
<input type=\"hidden\" name=\"tree_form[id]\" value=\"";
// line 161
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 161, $this->source); })()), "id", [], "any", false, false, false, 161), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"tree_form[routeClassName]\" value=\"";
// line 162
echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName", $context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.', 162, $this->source); })()), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"tree_form[rol]\" value=\"";
// line 163
echo twig_escape_filter($this->env, (isset($context["rol"]) || array_key_exists("rol", $context) ? $context["rol"] : (function () { throw new RuntimeError('Variable "rol" does not exist.', 163, $this->source); })()), "html", null, true);
echo "\">
";
// line 164
$this->loadTemplate("ProcesoReclutamiento\\basesCentrosUnidades.html.twig", "ProcesoReclutamiento\\show.html.twig", 164)->display($context);
// line 165
echo " <input type=\"submit\" class=\"btn btn-white btn-inverse btn-bold btn-round\" value=\"Guardar\">
</form>
</div>
</div>
</div>
";
// line 171
echo "
";
// line 173
echo " <div class=\"tab-pane\" id=\"tab-test-psicologico\">
";
// line 175
echo " <a class=\"btnExpand\" onclick=\"jQuery('#table_test_psicologico').treetable('expandAll'); return false;\">
<button class=\"btn btn-white btn-inverse btn-bold btn-round\" title=\"";
// line 176
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("botones.expandir", [], "messages");
echo "\">
<img src=\"";
// line 177
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/icon/expandir.png"), "html", null, true);
echo "\" width=\"16px\"><span class=\"hidden-xs\"> ";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("botones.expandir", [], "messages");
echo "</span>
</button>
</a>
<a class=\"btnExpand\" onclick=\"jQuery('#table_test_psicologico').treetable('collapseAll'); return false;\">
<button class=\"btn btn-white btn-inverse btn-bold btn-round\" title=\"";
// line 181
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("botones.recoger", [], "messages");
echo "\">
<img src=\"";
// line 182
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/icon/recoger.png"), "html", null, true);
echo "\" width=\"16px\"><span class=\"hidden-xs\"> ";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("botones.recoger", [], "messages");
echo "</span>
</button>
</a>
<a class=\"new_sistema\" href=\"\">
<button class=\"btn btn-white btn-inverse btn-bold btn-round\" title=\"";
// line 186
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("botones.recoger", [], "messages");
echo "\">
<i class=\"fas fa-plus green bigger-130\" title=\"Nuevo sistema\"></i> Nuevo Sistema
</button>
</a>
";
// line 190
if ((twig_length_filter($this->env, (isset($context["otrosProcesos"]) || array_key_exists("otrosProcesos", $context) ? $context["otrosProcesos"] : (function () { throw new RuntimeError('Variable "otrosProcesos" does not exist.', 190, $this->source); })())) > 0)) {
// line 191
echo " <a id=\"usar_otras_preguntas\" href=\"\">
<button class=\"btn btn-white btn-inverse btn-bold btn-round\" title=\"";
// line 192
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("botones.recoger", [], "messages");
echo "\">
<i class=\"fas fa-recycle green bigger-130\" title=\"Usar preguntas de otro proceso\"></i> Usar preguntas de otro proceso
</button>
</a>
";
}
// line 197
echo " <div id=\"testPreguntas\">
";
// line 198
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\ProcesoReclutamientoController::getTestElementsAction", ["proceso" => twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 198, $this->source); })()), "id", [], "any", false, false, false, 198), "editable" => "YES"]));
echo "
</div>
</div>
";
// line 202
echo "
";
// line 487
echo " </div>
";
// line 489
echo " </div>
</div>
</div>
<div class='hide'>
<form id=\"form_save\" action=\"";
// line 494
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("save_test_element");
echo "\" method=\"post\">
<input id=\"form_save_id\" type=\"text\" name=\"test[id]\">
<input id=\"form_save_parent\" type=\"text\" name=\"test[parentId]\">
<input id=\"form_save_nombre\" type=\"text\" name=\"test[nombre]\">
<input id=\"form_save_riesgoBajoDesde\" type=\"text\" name=\"test[riesgoBajoDesde]\">
<input id=\"form_save_riesgoBajoHasta\" type=\"text\" name=\"test[riesgoBajoHasta]\">
<input id=\"form_save_riesgoMedioDesde\" type=\"text\" name=\"test[riesgoMedioDesde]\">
<input id=\"form_save_riesgoMedioHasta\" type=\"text\" name=\"test[riesgoMedioHasta]\">
<input id=\"form_save_riesgoAltoDesde\" type=\"text\" name=\"test[riesgoAltoDesde]\">
<input id=\"form_save_riesgoAltoHasta\" type=\"text\" name=\"test[riesgoAltoHasta]\">
<input id=\"form_save_tipo\" type=\"text\" name=\"test[tipo]\">
<input id=\"form_save_proceso\" type=\"text\" name=\"test[proceso]\" value=\"";
// line 505
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 505, $this->source); })()), "id", [], "any", false, false, false, 505), "html", null, true);
echo "\">
</form>
<div id=\"delete_alert\" class=\"alert alert-danger\">
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">
<i class=\"fas fa-times\"></i>
</button>
<strong>
<i class=\"fas fa-info-circle bigger-150\"></i>
No fue posible eliminar este elemento
</strong>
<br>
</div>
<div id=\"save_alert\" class=\"alert alert-danger\">
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">
<i class=\"fas fa-times\"></i>
</button>
<strong>
<i class=\"fas fa-info-circle bigger-150\"></i>
No fue posible guardar este elemento
</strong>
<br>
</div>
<table id=\"table_reference\">
<tr id=\"N-S-NUEVO-SISTEMA\" parentId=\"\" data-tt-id=\"N-S-NUEVO-SISTEMA\" data-tt-parent-id=\"\">
<td>
SISTEMA
</td>
<td>
<input field=\"nombre\" type=\"text\" class=\"editable\" name=\"test[sistemas][N-S-NUEVO-SISTEMA][nombre]\"old_value=\"\" style=\"width: 100%;\">
</td>
<td colspan=\"4\"></td>
<td>
<div class=\"pull-left action-buttons\">
<nobr>
<a class=\"save save_sistema hide\" href=\"\">
<i class=\"fas fa-save blue bigger-150\" title=\"Guardar\"></i>
</a>
<a class=\"cancel hide\" href=\"\">
<i class=\"fas fa-ban red bigger-150\" title=\"Cancelar\"></i>
</a>
<a class=\"new_eje\" href=\"\">
<i class=\"fas fa-plus green bigger-150\" title=\"Nuevo eje\"></i>
</a>
<a class=\"delete delete_sistema\" href=\"\">
<i class=\"fas fa-trash red bigger-150\" title=\"Eliminar\"></i>
</a>
</nobr>
</div>
</td>
</tr>
<tr id=\"N-E-NUEVO-EJE\" parentId=\"PARENT-ID\" data-tt-id=\"N-E-NUEVO-EJE\" data-tt-parent-id=\"PARENT-ID\">
<td>
EJE
</td>
<td>
<input field=\"nombre\" type=\"text\" name=\"test[ejes][PARENT-ID][N-E-NUEVO-EJE][nombre]\" class=\"editable\" old_value=\"\" style=\"width: 100%;\">
</td>
<td colspan=\"4\"></td>
<td>
<div class=\"pull-left action-buttons\">
<nobr>
<a class=\"save save_eje hide\" href=\"\">
<i class=\"fas fa-save blue bigger-150\" title=\"Guardar\"></i>
</a>
<a class=\"cancel hide\" href=\"\">
<i class=\"fas fa-ban red bigger-150\" title=\"Cancelar\"></i>
</a>
<a class=\"new_criterio\" href=\"\">
<i class=\"fas fa-plus green bigger-150\" title=\"Nuevo criterio\"></i>
</a>
<a class=\"delete delete_eje\" href=\"\">
<i class=\"fas fa-trash red bigger-150\" title=\"Eliminar\"></i>
</a>
</nobr>
</div>
</td>
</tr>
<tr id=\"N-C-NUEVO-CRITERIO\" parentId=\"PARENT-ID\" data-tt-id=\"N-C-NUEVO-CRITERIO\" data-tt-parent-id=\"PARENT-ID\">
<td>
CRITERIO
</td>
<td>
<input field=\"nombre\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][nombre]\" class=\"editable\" old_value=\"\" style=\"width: 100%;\">
</td>
<td>
<input field=\"riesgoBajoDesde\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][bajoDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\"> a <input field=\"riesgoBajoHasta\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][bajoDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\">
</td>
<td>
<input field=\"riesgoMedioDesde\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][medioDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\"> a <input field=\"riesgoMedioHasta\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][medioDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\">
</td>
<td>
<input field=\"riesgoAltoDesde\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][altoDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\"> a <input field=\"riesgoAltoHasta\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][altoDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\">
</td>
<td></td>
<td>
<div class=\"pull-left action-buttons\">
<nobr>
<a class=\"save save_criterio hide\" href=\"\">
<i class=\"fas fa-save blue bigger-150\" title=\"Guardar\"></i>
</a>
<a class=\"cancel hide\" href=\"\">
<i class=\"fas fa-ban red bigger-150\" title=\"Cancelar\"></i>
</a>
<a class=\"new_pregunta\" href=\"\">
<i class=\"fas fa-plus green bigger-150\" title=\"Nueva pregunta\"></i>
</a>
<a class=\"delete delete_criterio\" href=\"\">
<i class=\"fas fa-trash red bigger-150\" title=\"Eliminar\"></i>
</a>
</nobr>
</div>
</td>
</tr>
<tr id=\"N-P-NUEVA-PREGUNTA\" parentId=\"PARENT-ID\" data-tt-id=\"N-P-NUEVA-PREGUNTA\" data-tt-parent-id=\"PARENT-ID\">
<td>
PREGUNTA
</td>
<td>
<input field=\"nombre\" type=\"text\" name=\"test[preguntas][PARENT-ID][N-P-NUEVA-PREGUNTA][nombre]\" class=\"editable\" old_value=\"\" style=\"width: 100%;\">
</td>
<td colspan=\"3\"></td>
<td>
<select field=\"tipo\" name=\"test[preguntas][PARENT-ID][N-P-NUEVA-PREGUNTA][tipo]\" class=\"editable\" old_value=\"directo\" style=\"width: 100%\">
<option value=\"directo\">Directa</option>
<option value=\"inverso\">Inversa</option>
</select>
</td>
<td>
<div class=\"pull-left action-buttons\">
<nobr>
<a class=\"save save_pregunta hide\" href=\"\">
<i class=\"fas fa-save blue bigger-150\" title=\"Guardar\"></i>
</a>
<a class=\"cancel hide\" href=\"\">
<i class=\"fas fa-ban red bigger-150\" title=\"Cancelar\"></i>
</a>
<a class=\"delete delete_pregunta\" href=\"\">
<i class=\"fas fa-trash red bigger-150\" title=\"Eliminar\"></i>
</a>
</nobr>
</div>
</td>
</tr>
</table>
</div>
<div id=\"dlg_otrosProcesos\">
";
// line 656
$this->loadTemplate("ProcesoReclutamiento\\testPreguntasShow.html.twig", "ProcesoReclutamiento\\show.html.twig", 656)->display($context);
// line 657
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "ProcesoReclutamiento\\show.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 593 => 657, 591 => 656, 437 => 505, 423 => 494, 416 => 489, 413 => 487, 410 => 202, 404 => 198, 401 => 197, 393 => 192, 390 => 191, 388 => 190, 381 => 186, 372 => 182, 368 => 181, 359 => 177, 355 => 176, 352 => 175, 349 => 173, 346 => 171, 339 => 165, 337 => 164, 333 => 163, 329 => 162, 325 => 161, 320 => 159, 315 => 156, 312 => 154, 309 => 152, 303 => 148, 297 => 145, 293 => 143, 283 => 136, 273 => 135, 260 => 129, 258 => 128, 253 => 125, 251 => 124, 216 => 92, 208 => 87, 133 => 16, 123 => 15, 111 => 12, 106 => 11, 96 => 10, 84 => 7, 80 => 6, 76 => 5, 71 => 4, 61 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"@crud\\\\crud\\\\show.html.twig\" %}
{% block stylesheets %}
{{ parent() }}
<link type=\"text/css\" rel=\"stylesheet\" href=\"{{ asset('ace/css/jquery.treetable.css') }}\">
<link type=\"text/css\" rel=\"stylesheet\" href=\"{{ asset('ace/css/jquery.treetable.theme.default.css') }}\">
<!--link type=\"text/css\" rel=\"stylesheet\" href=\"{{ asset('style/jquery-ui.css') }}\"-->
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script src=\"{{ asset('ace/js/jquery.treetable.js') }}\" type=\"text/javascript\"></script>
{% endblock %}
{% block jquery %}
{{ parent() }}
<script type=\"text/javascript\">
\$(function()
{
\$('.masculino').change(function(e){
var itemid = \$(this).attr('itemid');
var registrados = \$('#unidad_registradoMasculino_'+itemid).val()*1;
var cupo = \$('#unidad_cupoMasculino_'+itemid).val()*1;
var adicionalCupo = \$('#unidad_adicionalMasculino_'+itemid).val()*1;
var newCupo = cupo+((cupo*adicionalCupo)/100);
if (newCupo<registrados)
{
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+')');
\$(this).val(\$(this).attr('oldvalue'));
}
});
\$('.femenino').change(function(e){
var itemid = \$(this).attr('itemid');
var registrados = \$('#unidad_registradoFemenino_'+itemid).val()*1;
var cupo = \$('#unidad_cupoFemenino_'+itemid).val()*1;
var adicionalCupo = \$('#unidad_adicionalFemenino_'+itemid).val()*1;
var newCupo = cupo+((cupo*adicionalCupo)/100);
if (newCupo<registrados)
{
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+')');
\$(this).val(\$(this).attr('oldvalue'));
}
});
\$('#crud_form_preocesoreclutamiento').submit(function(e){
if (\$('.save').not('.hide').length > 0)
{
e.preventDefault();
jAlert('Hay información sobre el test psicológico que no se ha guardado', 'Información');
}
});
\$('#table_test_psicologico').treetable({ expandable: true, indent: 10 });
\$('.new_sistema').click(function(e){
e.preventDefault();
var s = \$('#N-S-NUEVO-SISTEMA').prop(\"outerHTML\");
s=s.replaceAll('NUEVO-SISTEMA', nuevoSistema);
\$(\"#table_test_psicologico\").treetable(\"loadBranch\", null, s);
bindButtons('N-S-'+nuevoSistema);
nuevoSistema++;
});
\$( \"#dlg_otrosProcesos\" ).dialog({
autoOpen: false,
height: 610,
width: 950,
modal: true,
resizable: false,
title_html: true,
title: '<div id=\"texto\" class=\"widget-header widget-header-small\"><h4 class=\"smaller green\"><i class=\"fas fa-recycle\"></i> Preguntas de otros procesos</h4></div>',
buttons: {
Usar: function() {
if (\$('#test_otros').html().trim())
{
jConfirm('Si acepta usar estas preguntas perderá toda la información sobre las preguntas ya asociadas a este proceso.', 'Confirmar', function(r){
if (r) {
\$( \"#dlg_otrosProcesos\" ).dialog( \"close\" );
\$('#crud_form_procesoreclutamiento').mask(' Cargando...');
var url = '{{ path('replicate_test_elements', {'procesoOrigen': '__PROCESO__', 'procesoDestino': entity.id }) }}';
url=url.replace('__PROCESO__', \$('#otros_procesos').val());
\$.getJSON(url , function(result){
if (result.ok)
{
var url = '{{ path('get_test_elements', {'proceso': entity.id, 'editable': 'YES'}) }}';
\$('#testPreguntas').load(url, function(){
\$('#crud_form_procesoreclutamiento').unmask();
/*\$('#table_test_psicologico').find('tbody').find('tr').each(function(){
var id = \$(this).attr('id');
id = 'N-'+id;
\$(this).attr('id', id);
});*/
\$('#table_test_psicologico').treetable({ expandable: true, indent: 10 });
});
}
else
{
\$('#crud_form_procesoreclutamiento').unmask();
jAlert(result.msg, 'Error');
}
});
}
});
}
},
Cancelar: function() {
\$( \"#dlg_otrosProcesos\" ).dialog( \"close\" );
}
}
});
\$('#usar_otras_preguntas').click(function(e){
e.preventDefault();
\$( \"#dlg_otrosProcesos\" ).dialog('open');
});
{% include 'ProcesoReclutamiento\\\\formulario_jquery.html.twig' %}
});
\t\t
{% include 'ProcesoReclutamiento\\\\formulario_jquery_functions.html.twig' %}
</script>
{% endblock %}
{% block show_details %}
{{ parent() }}
<div class=\"row\">
<div class=\"col-xs-12\">
<div id=\"tabs\" class=\"tabs ui-tabs ui-widget ui-widget-content ui-corner-all\">
{# Listado de los Tabs#}
<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\">
<li class=\"active\">
<a href=\"#tab-centros\" data-toggle=\"tab\">{{ 'procesoreclutamiento.endFormTabs.centrosReclutaHabilitados' | trans({}, 'crud') }}</a>
</li>
<li>
<a href=\"#tab-test-psicologico\" data-toggle=\"tab\">{{ 'procesoreclutamiento.endFormTabs.testPsicologico' | trans({}, 'crud') }}</a>
</li>
</ul>
{# END Listado de los Tabs#}
{# DIV CONTENEDOR DE LOS 3 TABS #}
<div class=\"tab-content ui-tabs ui-tabs-panel\" id=\"tabContainer\">
{# Tab Centros de reclutamiento habilitados #}
<div class=\"tab-pane active\" id=\"tab-centros\">
<div class=\"row\">
<div class=\"col-xs-12\">
<form id=\"estructura_centros\" action=\"{{ path('save_estructura_centros') }}\" method=\"post\">
<input type=\"submit\" class=\"btn btn-white btn-inverse btn-bold btn-round\" value=\"Guardar\">
<input type=\"hidden\" name=\"tree_form[id]\" value=\"{{ entity.id }}\">
<input type=\"hidden\" name=\"tree_form[routeClassName]\" value=\"{{ routeClassName }}\">
<input type=\"hidden\" name=\"tree_form[rol]\" value=\"{{ rol }}\">
{% include 'ProcesoReclutamiento\\\\basesCentrosUnidades.html.twig' %}
<input type=\"submit\" class=\"btn btn-white btn-inverse btn-bold btn-round\" value=\"Guardar\">
</form>
</div>
</div>
</div>
{# END Tab Centros de reclutamiento habilitados #}
{# Tab Test psicólogico#}
<div class=\"tab-pane\" id=\"tab-test-psicologico\">
{#% include 'ProcesoReclutamiento\\\\preguntas.html.twig' %#}
<a class=\"btnExpand\" onclick=\"jQuery('#table_test_psicologico').treetable('expandAll'); return false;\">
<button class=\"btn btn-white btn-inverse btn-bold btn-round\" title=\"{% trans %}botones.expandir{% endtrans %}\">
<img src=\"{{ asset('images/icon/expandir.png') }}\" width=\"16px\"><span class=\"hidden-xs\"> {% trans %}botones.expandir{% endtrans %}</span>
</button>
</a>
<a class=\"btnExpand\" onclick=\"jQuery('#table_test_psicologico').treetable('collapseAll'); return false;\">
<button class=\"btn btn-white btn-inverse btn-bold btn-round\" title=\"{% trans %}botones.recoger{% endtrans %}\">
<img src=\"{{ asset('images/icon/recoger.png') }}\" width=\"16px\"><span class=\"hidden-xs\"> {% trans %}botones.recoger{% endtrans %}</span>
</button>
</a>
<a class=\"new_sistema\" href=\"\">
<button class=\"btn btn-white btn-inverse btn-bold btn-round\" title=\"{% trans %}botones.recoger{% endtrans %}\">
<i class=\"fas fa-plus green bigger-130\" title=\"Nuevo sistema\"></i> Nuevo Sistema
</button>
</a>
{% if otrosProcesos | length > 0 %}
<a id=\"usar_otras_preguntas\" href=\"\">
<button class=\"btn btn-white btn-inverse btn-bold btn-round\" title=\"{% trans %}botones.recoger{% endtrans %}\">
<i class=\"fas fa-recycle green bigger-130\" title=\"Usar preguntas de otro proceso\"></i> Usar preguntas de otro proceso
</button>
</a>
{% endif %}
<div id=\"testPreguntas\">
{{ render(controller('App\\\\Controller\\\\ProcesoReclutamientoController::getTestElementsAction', {'proceso': entity.id, 'editable': 'YES' })) }}
</div>
</div>
{# END Tab Test psicólogico#}
{# Tab Personal responsable
<div class=\"tab-pane\" id=\"tab-personal-responsable\">
<div class=\"row\">
<div id=\"psicologo\" class=\"col-xs-6 full-row\">
<table class=\"table table-striped table-bordered table-hover\">
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_psicologo\" class=required >
Psicólogo
</label>
<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\">
<i class=\"icon fas fa-plus-square green\" itemid=\"form_psicologo\"></i>
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['psicologo']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_psicologoIdentificacion\" class=required >
Identificacón
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['psicologoIdentificacion']) }}
</td>
</tr>
<tr class=\"\">
<th style=\"width: 20%\">
<label id=\"label_form_psicologoNombres\" class=required >
Nombre
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['psicologoNombres']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_psicologoApellidos\" >
Apellidos
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['psicologoApellidos']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_psicologoCargo\" >
Cargo
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['psicologoCargo']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_psicologoGrado\" >
Grado
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['psicologoGrado']) }}
</td>
</tr>
</table>
</div>
<div id=\"medico\" class=\"col-xs-6 full-row\">
<table class=\"table table-striped table-bordered table-hover\">
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_medico\" class=required >
Médico,
</label>
<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\">
<i class=\"icon fas fa-plus-square green\" itemid=\"form_medico\"></i>
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['medico']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_medicoIdentificacion\" class=required >
Identificación
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['medicoIdentificacion']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_medicoNombres\" class=required >
Nombre
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['medicoNombres']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_medicoApellidos\" >
Apellidos
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['medicoApellidos']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_medicoCargo\" >
Cargo
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['medicoCargo']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_medicoGrado\" >
Grado
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['medicoGrado']) }}
</td>
</tr>
</table>
</div>
</div>
<div class=\"row\">
<div class=\"col-xs-12\">
<div class=\"hr hr-8 hr-dotted\"></div>
</div>
</div>
<div class=\"row\">
<div id=\"odontologo\" class=\"col-xs-6 full-row\">
<table class=\"table table-striped table-bordered table-hover\">
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_odontologo\" class=required >
Odontólogo
</label>
<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\">
<i class=\"icon fas fa-plus-square green\" itemid=\"form_odontologo\"></i>
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['odontologo']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_odontologoIdentificacion\" class=required >
Identificación
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['odontologoIdentificacion']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_odontologoNombres\" class=required >
Nombre
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['odontologoNombres']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_odontologoApellidos\" >
Apellidos
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['odontologoApellidos']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_odontologoCargo\" >
Cargo
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['odontologoCargo']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_odontologoGrado\" >
Grado
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['odontologoGrado']) }}
</td>
</tr>
</table>
</div>
<div id=\"laboratorista\" class=\"col-xs-6 full-row\">
<table class=\"table table-striped table-bordered table-hover\">
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_laboratorista\" class=required >
Laboratorista
</label>
<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\">
<i class=\"icon fas fa-plus-square green\" itemid=\"form_laboratorista\"></i>
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['laboratorista']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_laboratoristaIdentificacion\" class=required >
Identificación
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['laboratoristaIdentificacion']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_laboratoristaNombres\" class=required >
Nombre
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['laboratoristaNombres']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_laboratoristaApellidos\" >
Apellidos
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['laboratoristaApellidos']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_laboratoristaCargo\" >
Cargo
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['laboratoristaCargo']) }}
</td>
</tr>
<tr>
<th style=\"width: 20%\">
<label id=\"label_form_laboratoristaGrado\" >
Grado
</label>
</th>
<td style=\"vertical-align: middle\">
{{ form_widget(form['laboratoristaGrado']) }}
</td>
</tr>
</table>
</div>
</div>
</div>
END Tab Personal responsable#}
</div>
{# END DIV CONTENEDOR DE LOS 3 TABS #}
</div>
</div>
</div>
<div class='hide'>
<form id=\"form_save\" action=\"{{ path('save_test_element') }}\" method=\"post\">
<input id=\"form_save_id\" type=\"text\" name=\"test[id]\">
<input id=\"form_save_parent\" type=\"text\" name=\"test[parentId]\">
<input id=\"form_save_nombre\" type=\"text\" name=\"test[nombre]\">
<input id=\"form_save_riesgoBajoDesde\" type=\"text\" name=\"test[riesgoBajoDesde]\">
<input id=\"form_save_riesgoBajoHasta\" type=\"text\" name=\"test[riesgoBajoHasta]\">
<input id=\"form_save_riesgoMedioDesde\" type=\"text\" name=\"test[riesgoMedioDesde]\">
<input id=\"form_save_riesgoMedioHasta\" type=\"text\" name=\"test[riesgoMedioHasta]\">
<input id=\"form_save_riesgoAltoDesde\" type=\"text\" name=\"test[riesgoAltoDesde]\">
<input id=\"form_save_riesgoAltoHasta\" type=\"text\" name=\"test[riesgoAltoHasta]\">
<input id=\"form_save_tipo\" type=\"text\" name=\"test[tipo]\">
<input id=\"form_save_proceso\" type=\"text\" name=\"test[proceso]\" value=\"{{ entity.id }}\">
</form>
<div id=\"delete_alert\" class=\"alert alert-danger\">
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">
<i class=\"fas fa-times\"></i>
</button>
<strong>
<i class=\"fas fa-info-circle bigger-150\"></i>
No fue posible eliminar este elemento
</strong>
<br>
</div>
<div id=\"save_alert\" class=\"alert alert-danger\">
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">
<i class=\"fas fa-times\"></i>
</button>
<strong>
<i class=\"fas fa-info-circle bigger-150\"></i>
No fue posible guardar este elemento
</strong>
<br>
</div>
<table id=\"table_reference\">
<tr id=\"N-S-NUEVO-SISTEMA\" parentId=\"\" data-tt-id=\"N-S-NUEVO-SISTEMA\" data-tt-parent-id=\"\">
<td>
SISTEMA
</td>
<td>
<input field=\"nombre\" type=\"text\" class=\"editable\" name=\"test[sistemas][N-S-NUEVO-SISTEMA][nombre]\"old_value=\"\" style=\"width: 100%;\">
</td>
<td colspan=\"4\"></td>
<td>
<div class=\"pull-left action-buttons\">
<nobr>
<a class=\"save save_sistema hide\" href=\"\">
<i class=\"fas fa-save blue bigger-150\" title=\"Guardar\"></i>
</a>
<a class=\"cancel hide\" href=\"\">
<i class=\"fas fa-ban red bigger-150\" title=\"Cancelar\"></i>
</a>
<a class=\"new_eje\" href=\"\">
<i class=\"fas fa-plus green bigger-150\" title=\"Nuevo eje\"></i>
</a>
<a class=\"delete delete_sistema\" href=\"\">
<i class=\"fas fa-trash red bigger-150\" title=\"Eliminar\"></i>
</a>
</nobr>
</div>
</td>
</tr>
<tr id=\"N-E-NUEVO-EJE\" parentId=\"PARENT-ID\" data-tt-id=\"N-E-NUEVO-EJE\" data-tt-parent-id=\"PARENT-ID\">
<td>
EJE
</td>
<td>
<input field=\"nombre\" type=\"text\" name=\"test[ejes][PARENT-ID][N-E-NUEVO-EJE][nombre]\" class=\"editable\" old_value=\"\" style=\"width: 100%;\">
</td>
<td colspan=\"4\"></td>
<td>
<div class=\"pull-left action-buttons\">
<nobr>
<a class=\"save save_eje hide\" href=\"\">
<i class=\"fas fa-save blue bigger-150\" title=\"Guardar\"></i>
</a>
<a class=\"cancel hide\" href=\"\">
<i class=\"fas fa-ban red bigger-150\" title=\"Cancelar\"></i>
</a>
<a class=\"new_criterio\" href=\"\">
<i class=\"fas fa-plus green bigger-150\" title=\"Nuevo criterio\"></i>
</a>
<a class=\"delete delete_eje\" href=\"\">
<i class=\"fas fa-trash red bigger-150\" title=\"Eliminar\"></i>
</a>
</nobr>
</div>
</td>
</tr>
<tr id=\"N-C-NUEVO-CRITERIO\" parentId=\"PARENT-ID\" data-tt-id=\"N-C-NUEVO-CRITERIO\" data-tt-parent-id=\"PARENT-ID\">
<td>
CRITERIO
</td>
<td>
<input field=\"nombre\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][nombre]\" class=\"editable\" old_value=\"\" style=\"width: 100%;\">
</td>
<td>
<input field=\"riesgoBajoDesde\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][bajoDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\"> a <input field=\"riesgoBajoHasta\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][bajoDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\">
</td>
<td>
<input field=\"riesgoMedioDesde\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][medioDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\"> a <input field=\"riesgoMedioHasta\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][medioDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\">
</td>
<td>
<input field=\"riesgoAltoDesde\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][altoDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\"> a <input field=\"riesgoAltoHasta\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][altoDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\">
</td>
<td></td>
<td>
<div class=\"pull-left action-buttons\">
<nobr>
<a class=\"save save_criterio hide\" href=\"\">
<i class=\"fas fa-save blue bigger-150\" title=\"Guardar\"></i>
</a>
<a class=\"cancel hide\" href=\"\">
<i class=\"fas fa-ban red bigger-150\" title=\"Cancelar\"></i>
</a>
<a class=\"new_pregunta\" href=\"\">
<i class=\"fas fa-plus green bigger-150\" title=\"Nueva pregunta\"></i>
</a>
<a class=\"delete delete_criterio\" href=\"\">
<i class=\"fas fa-trash red bigger-150\" title=\"Eliminar\"></i>
</a>
</nobr>
</div>
</td>
</tr>
<tr id=\"N-P-NUEVA-PREGUNTA\" parentId=\"PARENT-ID\" data-tt-id=\"N-P-NUEVA-PREGUNTA\" data-tt-parent-id=\"PARENT-ID\">
<td>
PREGUNTA
</td>
<td>
<input field=\"nombre\" type=\"text\" name=\"test[preguntas][PARENT-ID][N-P-NUEVA-PREGUNTA][nombre]\" class=\"editable\" old_value=\"\" style=\"width: 100%;\">
</td>
<td colspan=\"3\"></td>
<td>
<select field=\"tipo\" name=\"test[preguntas][PARENT-ID][N-P-NUEVA-PREGUNTA][tipo]\" class=\"editable\" old_value=\"directo\" style=\"width: 100%\">
<option value=\"directo\">Directa</option>
<option value=\"inverso\">Inversa</option>
</select>
</td>
<td>
<div class=\"pull-left action-buttons\">
<nobr>
<a class=\"save save_pregunta hide\" href=\"\">
<i class=\"fas fa-save blue bigger-150\" title=\"Guardar\"></i>
</a>
<a class=\"cancel hide\" href=\"\">
<i class=\"fas fa-ban red bigger-150\" title=\"Cancelar\"></i>
</a>
<a class=\"delete delete_pregunta\" href=\"\">
<i class=\"fas fa-trash red bigger-150\" title=\"Eliminar\"></i>
</a>
</nobr>
</div>
</td>
</tr>
</table>
</div>
<div id=\"dlg_otrosProcesos\">
{% include 'ProcesoReclutamiento\\\\testPreguntasShow.html.twig' %}
</div>
{% endblock %}", "ProcesoReclutamiento\\show.html.twig", "/data/produccion/integral/src/templates/ProcesoReclutamiento/show.html.twig");
}
}